共用方式為


CompartmentMapsReferToCompartment.GetLink 方法

取得指定的 CompartmentMap 和 Compartment 之間的一個 CompartmentMapsReferToCompartment 連結。

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

語法

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

參數

傳回值

類型:Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMapsReferToCompartment

.NET Framework 安全性

請參閱

參考

CompartmentMapsReferToCompartment 類別

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間