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
- compartmentId
Type: System.String
Initial id value.
- domainClassId
Type: System.Guid
- elementListGetter
Type: Microsoft.VisualStudio.Modeling.Diagrams.ElementListGetter
- stringGetter
Type: Microsoft.VisualStudio.Modeling.Diagrams.DisplayStringGetter
- imageGetter
Type: Microsoft.VisualStudio.Modeling.Diagrams.DisplayImageGetter
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ElementListCompartmentMapping Class