Freigeben über


ShapeHasCompartments.GetCompartments(CompartmentShape) Method

Definition

Gets a list of Compartments.

public:
 static Microsoft::VisualStudio::Modeling::LinkedElementCollection<Microsoft::VisualStudio::Modeling::DslDefinition::Compartment ^> ^ GetCompartments(Microsoft::VisualStudio::Modeling::DslDefinition::CompartmentShape ^ element);
[System.Diagnostics.DebuggerStepThrough]
public static Microsoft.VisualStudio.Modeling.LinkedElementCollection<Microsoft.VisualStudio.Modeling.DslDefinition.Compartment> GetCompartments (Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape element);
[<System.Diagnostics.DebuggerStepThrough>]
static member GetCompartments : Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape -> Microsoft.VisualStudio.Modeling.LinkedElementCollection<Microsoft.VisualStudio.Modeling.DslDefinition.Compartment>
Public Shared Function GetCompartments (element As CompartmentShape) As LinkedElementCollection(Of Compartment)

Parameters

Returns

Attributes

Applies to