This topic has not yet been rated - Rate this topic

ModelElement.IsDeleted Property

Gets the IsDeleted flag and checks to see whether the element has been deleted from the model.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
[BrowsableAttribute(false)]
public bool IsDeleted { get; }

Property Value

Type: System.Boolean
true if the element has been deleted from the model; otherwise, false.

Deleted elements are not immediately destroyed. This enables the undo command to undo the deletion.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ