ShapeHasCompartments.GetLinkToShape Method
Get the ShapeHasCompartments link to a Compartment.
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 GetLinkToShape ( _
compartmentInstance As Compartment _
) As ShapeHasCompartments
public static ShapeHasCompartments GetLinkToShape(
Compartment compartmentInstance
)
public:
static ShapeHasCompartments^ GetLinkToShape(
Compartment^ compartmentInstance
)
static member GetLinkToShape :
compartmentInstance:Compartment -> ShapeHasCompartments
public static function GetLinkToShape(
compartmentInstance : Compartment
) : ShapeHasCompartments
Parameters
- compartmentInstance
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Compartment
Return Value
Type: Microsoft.VisualStudio.Modeling.DslDefinition.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.