Compartilhar via


ImmutabilityExtensionMethods.IsLocked Method

Definition

Overloads

IsLocked(ModelElement, Locks)

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

IsLocked(Partition, Locks)

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

IsLocked(Store, Locks)

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

IsLocked(ModelElement, Locks)

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

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsLocked(Microsoft::VisualStudio::Modeling::ModelElement ^ element, Microsoft::VisualStudio::Modeling::Immutability::Locks locks);
public static bool IsLocked (this Microsoft.VisualStudio.Modeling.ModelElement element, Microsoft.VisualStudio.Modeling.Immutability.Locks locks);
static member IsLocked : Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.Immutability.Locks -> bool
<Extension()>
Public Function IsLocked (element As ModelElement, locks As Locks) As Boolean

Parameters

element
ModelElement

The element whose lock flags are to be tested

locks
Locks

Set of lock flags checked

Returns

Applies to

IsLocked(Partition, Locks)

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

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsLocked(Microsoft::VisualStudio::Modeling::Partition ^ partition, Microsoft::VisualStudio::Modeling::Immutability::Locks locks);
public static bool IsLocked (this Microsoft.VisualStudio.Modeling.Partition partition, Microsoft.VisualStudio.Modeling.Immutability.Locks locks);
static member IsLocked : Microsoft.VisualStudio.Modeling.Partition * Microsoft.VisualStudio.Modeling.Immutability.Locks -> bool
<Extension()>
Public Function IsLocked (partition As Partition, locks As Locks) As Boolean

Parameters

partition
Partition

The Partition whose lock flags are to be tested

locks
Locks

Set of lock flags checked

Returns

Applies to

IsLocked(Store, Locks)

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

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsLocked(Microsoft::VisualStudio::Modeling::Store ^ store, Microsoft::VisualStudio::Modeling::Immutability::Locks locks);
public static bool IsLocked (this Microsoft.VisualStudio.Modeling.Store store, Microsoft.VisualStudio.Modeling.Immutability.Locks locks);
static member IsLocked : Microsoft.VisualStudio.Modeling.Store * Microsoft.VisualStudio.Modeling.Immutability.Locks -> bool
<Extension()>
Public Function IsLocked (store As Store, locks As Locks) As Boolean

Parameters

store
Store
locks
Locks

Set of lock flags checked

Returns

Applies to