ImmutabilityExtensionMethods::SetLocks Method (ModelElement^, Locks)

 

Set the lock flags of this element

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

public:
[ExtensionAttribute]
static void SetLocks(
	ModelElement^ element,
	Locks locks
)

Parameters

element
Type: Microsoft.VisualStudio.Modeling::ModelElement^

The element whose lock flags are to be set

locks
Type: Microsoft.VisualStudio.Modeling.Immutability::Locks

New set of lock flags to be enabled on the element

Return to top
Show: