ShapeHasCompartments.GetLinksToCompartments Method
Get the list of ShapeHasCompartments links to a CompartmentShape.
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 GetLinksToCompartments ( _
shapeInstance As CompartmentShape _
) As ReadOnlyCollection(Of ShapeHasCompartments)
public static ReadOnlyCollection<ShapeHasCompartments> GetLinksToCompartments(
CompartmentShape shapeInstance
)
public:
static ReadOnlyCollection<ShapeHasCompartments^>^ GetLinksToCompartments(
CompartmentShape^ shapeInstance
)
static member GetLinksToCompartments :
shapeInstance:CompartmentShape -> ReadOnlyCollection<ShapeHasCompartments>
public static function GetLinksToCompartments(
shapeInstance : CompartmentShape
) : ReadOnlyCollection<ShapeHasCompartments>
Parameters
- shapeInstance
Type: Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<ShapeHasCompartments>
.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.