Udostępnij za pośrednictwem


ImmutabilityExtensionMethods.GetLocks Method

Definition

Overloads

GetLocks(ModelElement)

Get the lock flags for this element. This will include any locks enabled on the Partition containing the element.

GetLocks(Partition)

Get the lock flags for this Partition instance. This will include any locks enabled on the Store containing the partition.

GetLocks(Store)

Get the lock flags for this Store instance

GetLocks(ModelElement)

Get the lock flags for this element. This will include any locks enabled on the Partition containing the element.

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

Parameters

element
ModelElement

The element whose lock flags are to be queried

Returns

Lock flags enabled on the element

Applies to

GetLocks(Partition)

Get the lock flags for this Partition instance. This will include any locks enabled on the Store containing the partition.

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

Parameters

partition
Partition

The Partition instance whose lock flags are to be queried

Returns

Lock flags enabled on the partition

Applies to

GetLocks(Store)

Get the lock flags for this Store instance

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

Parameters

store
Store

The Store instance whose lock flags are to be queried

Returns

Lock flags enabled on the store

Applies to