共用方式為


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

See Also

Reference

CompartmentMapsReferToCompartment Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace