ImmutabilityExtensionMethods::IsLocked Method (Partition^, Locks)

 

Test whether this partition 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(
	Partition^ partition,
	Locks locks
)

Parameters

partition
Type: Microsoft.VisualStudio.Modeling::Partition^

The Partition 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: