共用方式為


ShapeHasCompartments.GetLink 方法

取得一個 ShapeHasCompartments 之間的連結指定的 CompartmentShapeand 區間。

命名空間:  Microsoft.VisualStudio.Modeling.DslDefinition
組件:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll 中)

語法

'宣告
Public Shared Function GetLink ( _
    source As CompartmentShape, _
    target As Compartment _
) As ShapeHasCompartments
public static ShapeHasCompartments GetLink(
    CompartmentShape source,
    Compartment target
)

參數

傳回值

型別:Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments

.NET Framework 安全性

請參閱

參考

ShapeHasCompartments 類別

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間