ImmutabilityExtensionMethods.IsLocked Method (Store, Locks)
Test whether this store has any of a specified set of locks
Namespace: Microsoft.VisualStudio.Modeling.Immutability
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
'Declaração
<ExtensionAttribute> _
Public Shared Function IsLocked ( _
store As Store, _
locks As Locks _
) As Boolean
public static bool IsLocked(
this Store store,
Locks locks
)
[ExtensionAttribute]
public:
static bool IsLocked(
Store^ store,
Locks locks
)
static member IsLocked :
store:Store *
locks:Locks -> bool
public static function IsLocked(
store : Store,
locks : Locks
) : boolean
- store
Type: Microsoft.VisualStudio.Modeling.Store
- locks
Type: Microsoft.VisualStudio.Modeling.Immutability.Locks
Set of lock flags checked
Type: System.Boolean
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).
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.