ImmutabilityExtensionMethods::IsLocked Method (ModelElement^, Locks)

 

Test whether this element has any of a specified set of locks

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

public:
[ExtensionAttribute]
static bool IsLocked(
	ModelElement^ element,
	Locks locks
)

Parameters

element
Type: Microsoft.VisualStudio.Modeling::ModelElement^

The element whose lock flags are to be tested

locks
Type: Microsoft.VisualStudio.Modeling.Immutability::Locks

Set of lock flags checked

Return Value

Type: System::Boolean

Return to top
Show: