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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.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.

Return to top
Show: