Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SetLocks Method (Store, Locks)

ImmutabilityExtensionMethods.SetLocks Method (Store, Locks)

Set the lock flags of this Store instance

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

public static void SetLocks(
	this Store store,
	Locks locks


Type: Microsoft.VisualStudio.Modeling.Store

The Store instance whose lock flags are to be set

Type: Microsoft.VisualStudio.Modeling.Immutability.Locks

New set of lock flags to be 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).

© 2015 Microsoft