CompartmentMapsReferToCompartment.GetCompartment Method
Gets Compartment.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)
Syntax
'Declaration
Public Shared Function GetCompartment ( _
element As CompartmentMap _
) As Compartment
public static Compartment GetCompartment(
CompartmentMap element
)
public:
static Compartment^ GetCompartment(
CompartmentMap^ element
)
static member GetCompartment :
element:CompartmentMap -> Compartment
public static function GetCompartment(
element : CompartmentMap
) : Compartment
Parameters
Return Value
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Compartment
.NET Framework Security
- 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.