ShapeHasCompartments.GetCompartments(CompartmentShape) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- element
- CompartmentShape
Returns
- Attributes