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
'Dichiarazione
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
- 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.