Compartilhar via


IVsImageService Interface

Registers well-known images (such as icons) for Visual Studio.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

Syntax

'Declaration
<GuidAttribute("59A26C3B-4E73-4E57-B1C2-F8A44BCA3CA1")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IVsImageService
[GuidAttribute("59A26C3B-4E73-4E57-B1C2-F8A44BCA3CA1")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsImageService
[GuidAttribute(L"59A26C3B-4E73-4E57-B1C2-F8A44BCA3CA1")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class IVsImageService
[<GuidAttribute("59A26C3B-4E73-4E57-B1C2-F8A44BCA3CA1")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
type IVsImageService =  interface end
public interface IVsImageService

The IVsImageService type exposes the following members.

Methods

  Name Description
Public method Add Adds an icon with the specified name to the service.
Public method Get Gets the icon with the specified name.
Public method GetIconForFile Gets the 16x16 icon for the specified file.
Public method GetIconForFileEx

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace