Method Deactivate
Deactivate(ElementId)
Deactivates an operation.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 12, 0, 0)]
void Deactivate(ElementId inElementId)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inElementId | Identifier of the operation to modify. |
Remarks
An exception will be thrown when trying to deactivate an operation that is not deactivable.
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.12.