This documentation is archived and is not being maintained.

ModelElement.IsDeleting Property

Gets the IsDeleting flag and checks to see whether the element is currently being deleted from the model.

Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in microsoft.visualstudio.modeling.dll)

public bool IsDeleting { get; }
/** @property */
public boolean get_IsDeleting ()

public function get IsDeleting () : boolean

Property Value

true if the element is being deleted from the model; otherwise, false.

Deleted elements are not immediately destroyed, so that the undo command may undo deleting the element.