ShapeHasCompartments.GetLinkToShape(Compartment) 方法

定义

获取到隔离舱的 ShapeHasCompartments 链接。

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

参数

compartmentInstance
Compartment

返回

ShapeHasCompartments
属性

适用于