共用方式為


ElementListCompartmentMapping Constructor (String, Guid, Guid, ElementListGetter, PropertyElementGetter, DisplayStringGetter, DisplayImageGetter)

Constructor that takes all of the initial values.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
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
)
public:
ElementListCompartmentMapping(
    String^ compartmentId, 
    Guid propertyId, 
    Guid domainClassId, 
    ElementListGetter^ elementListGetter, 
    PropertyElementGetter^ propertyElementGetter, 
    DisplayStringGetter^ stringGetter, 
    DisplayImageGetter^ imageGetter
)
new : 
        compartmentId:string * 
        propertyId:Guid * 
        domainClassId:Guid * 
        elementListGetter:ElementListGetter * 
        propertyElementGetter:PropertyElementGetter * 
        stringGetter:DisplayStringGetter * 
        imageGetter:DisplayImageGetter -> ElementListCompartmentMapping
public function ElementListCompartmentMapping(
    compartmentId : String, 
    propertyId : Guid, 
    domainClassId : Guid, 
    elementListGetter : ElementListGetter, 
    propertyElementGetter : PropertyElementGetter, 
    stringGetter : DisplayStringGetter, 
    imageGetter : DisplayImageGetter
)

Parameters

  • propertyId
    Type: System.Guid
    Initial property id value.

.NET Framework Security

See Also

Reference

ElementListCompartmentMapping Class

ElementListCompartmentMapping Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace