Element.DeleteEntity
Method
Description:
Deletes the existing entity created by %schema% in the element
Deletes the existing entity created by %schema% in the element
Parameters
| Parameter | Type | Description |
|---|---|---|
| schema | Schema | Schema used for creation of the entity |
Return Value
| Type | Description |
|---|---|
| Boolean | True if entity was deleted, false if entity didn't exist |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | Writing of Entities of this Schema is not allowed to the current add-in. |
| ArgumentNullException | A non-optional argument was null |