IVsImageService2::TryAssociateNameWithMoniker Method (String^, ImageMoniker)
Visual Studio 2015
Creates an association between an image name (from IVsImageService.Add and IVsImageService.Get) and an ImageMoniker (from IVsImageService.GetImage).
Assembly: Microsoft.VisualStudio.Shell.Interop.14.0.DesignTime (in Microsoft.VisualStudio.Shell.Interop.14.0.DesignTime.dll)
Parameters
- imageName
-
Type:
System::String^
The image name.
- moniker
-
Type:
Microsoft.VisualStudio.Imaging.Interop::ImageMoniker
The image moniker.
Return Value
Type: System::BooleanTrue if the moniker was successfully associated with the name, false if some other moniker is already registered.
Show: