共用方式為


ShapeHasCompartments.GetLinkToShape(Compartment) Method

Definition

Get the ShapeHasCompartments link to a Compartment.

public:
 static Microsoft::VisualStudio::Modeling::DslDefinition::ShapeHasCompartments ^ GetLinkToShape(Microsoft::VisualStudio::Modeling::DslDefinition::Compartment ^ compartmentInstance);
[System.Diagnostics.DebuggerStepThrough]
public static Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments GetLinkToShape (Microsoft.VisualStudio.Modeling.DslDefinition.Compartment compartmentInstance);
[<System.Diagnostics.DebuggerStepThrough>]
static member GetLinkToShape : Microsoft.VisualStudio.Modeling.DslDefinition.Compartment -> Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments
Public Shared Function GetLinkToShape (compartmentInstance As Compartment) As ShapeHasCompartments

Parameters

compartmentInstance
Compartment

Returns

Attributes

Applies to