Export (0) Print
Expand All

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 (in Microsoft.VisualStudio.Modeling.Sdk.dll)

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.

Community Additions

ADD
Show:
© 2015 Microsoft