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 (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'Declaration
Public ReadOnly Property IsActive As Boolean
'Usage
Dim instance As ModelElement
Dim value As Boolean
value = instance.IsActive
public bool IsActive { get; }
public:
property bool IsActive {
bool get ();
}
public 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
- 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.