DocumentValidation.CanDeleteElement
Method
Description:
Indicates if an element can be deleted.
Indicates if an element can be deleted.
Parameters
Parameter | Type | Description |
---|---|---|
document | Document | The document. |
elementId | ElementId | The id of the element to check. |
Return Value
Type | Description |
---|---|
Boolean | True if the element can be deleted, false otherwise. |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |