다음을 통해 공유


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

See Also

Reference

ModelElement Class

Microsoft.VisualStudio.Modeling Namespace