DeleteElements.Create(Document, ElementId)
Method
Description:
Creates an instance of the DeleteElements resolution.
Creates an instance of the DeleteElements resolution.
Parameters
Parameter | Type | Description |
---|---|---|
document | Document | The document which owns the element to delete. |
id | ElementId | The id of the element that will be deleted when this resolution is chosen. |
Return Value
Type | Description |
---|---|
FailureResolution | The instance of the DeletedElements resolution. |
Exceptions
Exception | Condition |
---|---|
ArgumentException | The input id is not valid for deletion. |
ArgumentNullException | A non-optional argument was null |