ImmutabilityExtensionMethods.GetLocks Method (ModelElement)

 

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

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

public static Locks GetLocks(
	this ModelElement element
)

Parameters

element
Type: Microsoft.VisualStudio.Modeling.ModelElement

The element whose lock flags are to be queried

Return Value

Type: Microsoft.VisualStudio.Modeling.Immutability.Locks

Lock flags enabled on the element

Return to top
Show: