共用方式為


CompartmentMapsReferToCompartment.SetCompartment 方法

設定 Compartment。

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

語法

'宣告
Public Shared Sub SetCompartment ( _
    element As CompartmentMap, _
    newCompartment As Compartment _
)
public static void SetCompartment(
    CompartmentMap element,
    Compartment newCompartment
)

參數

.NET Framework 安全性

請參閱

參考

CompartmentMapsReferToCompartment 類別

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間