ModelElement.IsDeleting Property
Gets the IsDeleting flag and verifies whether the element is currently being deleted from the model.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
Syntax
'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property IsDeleting As Boolean
[BrowsableAttribute(false)]
public bool IsDeleting { get; }
[BrowsableAttribute(false)]
public:
property bool IsDeleting {
bool get ();
}
[<BrowsableAttribute(false)>]
member IsDeleting : bool with get
function get IsDeleting () : boolean
Property Value
Type: Boolean
true if the element is being deleted from the model; otherwise, false.
Remarks
Deleted elements are not immediately destroyed. This enables the undo command to undo the deletion.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.