Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Associates an image with an element type in Model Explorer.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
Protected Sub AddExplorerNodeCustomSetting ( _
domainClassId As Guid, _
treeNodeImage As Image, _
showDomainClassName As Boolean _
)
protected void AddExplorerNodeCustomSetting(
Guid domainClassId,
Image treeNodeImage,
bool showDomainClassName
)
protected:
void AddExplorerNodeCustomSetting(
Guid domainClassId,
Image^ treeNodeImage,
bool showDomainClassName
)
member AddExplorerNodeCustomSetting :
domainClassId:Guid *
treeNodeImage:Image *
showDomainClassName:bool -> unit
protected function AddExplorerNodeCustomSetting(
domainClassId : Guid,
treeNodeImage : Image,
showDomainClassName : boolean
)
Parameters
domainClassId
Type: System.GuidThe GUID that is assigned to the model to which the element belongs.
treeNodeImage
Type: System.Drawing.ImageThe image to use with the element.
showDomainClassName
Type: System.Booleantrue if you want to show the name of the element in Model Explorer; otherwise, false if you want to show only the image.
Remarks
If a custom image is not supplied for an element, the default image is used.
.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.