次の方法で共有


ImmutabilityExtensionMethods.GetLocks Method (Store)

Get the lock flags for this Store instance

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

Syntax

'宣言
<ExtensionAttribute> _
Public Shared Function GetLocks ( _
    store As Store _
) As Locks
public static Locks GetLocks(
    this Store store
)
[ExtensionAttribute]
public:
static Locks GetLocks(
    Store^ store
)
static member GetLocks : 
        store:Store -> Locks 
public static function GetLocks(
    store : Store
) : Locks

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Immutability.Locks
Lock flags enabled on the store

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Store. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

.NET Framework Security

See Also

Reference

ImmutabilityExtensionMethods Class

GetLocks Overload

Microsoft.VisualStudio.Modeling.Immutability Namespace