Partilhar via


ShapeHasCompartments.GetCompartments Method

Gets a list of Compartments.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

'Declaração
Public Shared Function GetCompartments ( _
    element As CompartmentShape _
) As LinkedElementCollection(Of Compartment)
public static LinkedElementCollection<Compartment> GetCompartments(
    CompartmentShape element
)
public:
static LinkedElementCollection<Compartment^>^ GetCompartments(
    CompartmentShape^ element
)
static member GetCompartments : 
        element:CompartmentShape -> LinkedElementCollection<Compartment> 
public static function GetCompartments(
    element : CompartmentShape
) : LinkedElementCollection<Compartment>

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.LinkedElementCollection<Compartment>

.NET Framework Security

See Also

Reference

ShapeHasCompartments Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace