Partilhar via


ModelElement.IsActive Property

Gets the IsActive flag and verifies to see whether the element is active.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Declaração
<BrowsableAttribute(False)> _
Public ReadOnly Property IsActive As Boolean
    Get
[BrowsableAttribute(false)]
public bool IsActive { get; }
[BrowsableAttribute(false)]
public:
property bool IsActive {
    bool get ();
}
[<BrowsableAttribute(false)>]
member IsActive : bool
function get IsActive () : boolean

Property Value

Type: System.Boolean
true if the element is active; otherwise, false.

Remarks

true indicates the element is currently active in the model.

false indicates the element has been deleted or is being deleted.

.NET Framework Security

See Also

Reference

ModelElement Class

Microsoft.VisualStudio.Modeling Namespace