ShapeHasCompartments.GetLink(CompartmentShape, Compartment) 方法

定义

获取给定 CompartmentShapeand 之间的一个 ShapeHasCompartments 链接。

public:
 static Microsoft::VisualStudio::Modeling::DslDefinition::ShapeHasCompartments ^ GetLink(Microsoft::VisualStudio::Modeling::DslDefinition::CompartmentShape ^ source, Microsoft::VisualStudio::Modeling::DslDefinition::Compartment ^ target);
[System.Diagnostics.DebuggerStepThrough]
public static Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments GetLink (Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape source, Microsoft.VisualStudio.Modeling.DslDefinition.Compartment target);
[<System.Diagnostics.DebuggerStepThrough>]
static member GetLink : Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape * Microsoft.VisualStudio.Modeling.DslDefinition.Compartment -> Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments
Public Shared Function GetLink (source As CompartmentShape, target As Compartment) As ShapeHasCompartments

参数

target
Compartment

返回

ShapeHasCompartments
属性

适用于