Condividi tramite


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

Syntax

'Dichiarazione
<BrowsableAttribute(False)> _
Public ReadOnly Property IsDeleting As Boolean
    Get
[BrowsableAttribute(false)]
public bool IsDeleting { get; }
[BrowsableAttribute(false)]
public:
property bool IsDeleting {
    bool get ();
}
[<BrowsableAttribute(false)>]
member IsDeleting : bool
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