共用方式為


ElementListCompartmentMapping 建構函式 (String, Guid, Guid, ElementListGetter, PropertyElementGetter, DisplayStringGetter, DisplayImageGetter)

建構函式,會接收所有起始值。

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

語法

'宣告
Public Sub New ( _
    compartmentId As String, _
    propertyId As Guid, _
    domainClassId As Guid, _
    elementListGetter As ElementListGetter, _
    propertyElementGetter As PropertyElementGetter, _
    stringGetter As DisplayStringGetter, _
    imageGetter As DisplayImageGetter _
)
public ElementListCompartmentMapping(
    string compartmentId,
    Guid propertyId,
    Guid domainClassId,
    ElementListGetter elementListGetter,
    PropertyElementGetter propertyElementGetter,
    DisplayStringGetter stringGetter,
    DisplayImageGetter imageGetter
)

參數

  • propertyId
    類型:System.Guid
    初始屬性 ID 值。

.NET Framework 安全性

請參閱

參考

ElementListCompartmentMapping 類別

ElementListCompartmentMapping 多載

Microsoft.VisualStudio.Modeling.Diagrams 命名空間