ShapeHasCompartments.GetLinksToCompartments Method
Get the list of ShapeHasCompartments links to a CompartmentShape.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)
Syntax
'Declaration
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: 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.