Condividi tramite


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

Constructor for a mapping that does not use a domain property but uses a fully custom string for display name.

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

Syntax

'Dichiarazione
Public Sub New ( _
    compartmentId As String, _
    domainClassId As Guid, _
    elementListGetter As ElementListGetter, _
    stringGetter As DisplayStringGetter, _
    imageGetter As DisplayImageGetter _
)
public ElementListCompartmentMapping(
    string compartmentId,
    Guid domainClassId,
    ElementListGetter elementListGetter,
    DisplayStringGetter stringGetter,
    DisplayImageGetter imageGetter
)
public:
ElementListCompartmentMapping(
    String^ compartmentId, 
    Guid domainClassId, 
    ElementListGetter^ elementListGetter, 
    DisplayStringGetter^ stringGetter, 
    DisplayImageGetter^ imageGetter
)
new : 
        compartmentId:string * 
        domainClassId:Guid * 
        elementListGetter:ElementListGetter * 
        stringGetter:DisplayStringGetter * 
        imageGetter:DisplayImageGetter -> ElementListCompartmentMapping
public function ElementListCompartmentMapping(
    compartmentId : String, 
    domainClassId : Guid, 
    elementListGetter : ElementListGetter, 
    stringGetter : DisplayStringGetter, 
    imageGetter : DisplayImageGetter
)

Parameters

.NET Framework Security

See Also

Reference

ElementListCompartmentMapping Class

ElementListCompartmentMapping Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace