CompartmentMapsReferToCompartment.GetCompartment Method
Gets Compartment.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'宣告
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.