共用方式為


IVsImageService Interface

Definition

Caution

Use IVsImageService2 instead

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

public interface class IVsImageService
public interface class IVsImageService
__interface IVsImageService
public interface IVsImageService
[System.Obsolete("Use IVsImageService2 instead")]
[System.Runtime.InteropServices.Guid("59A26C3B-4E73-4E57-B1C2-F8A44BCA3CA1")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsImageService
type IVsImageService = interface
[<System.Obsolete("Use IVsImageService2 instead")>]
[<System.Runtime.InteropServices.Guid("59A26C3B-4E73-4E57-B1C2-F8A44BCA3CA1")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsImageService = interface
Public Interface IVsImageService
Derived
Attributes

Methods

Add(String, IVsUIObject)
Obsolete.

Adds an icon with the specified name to the service.

Get(String)
Obsolete.

Gets the icon with the specified name.

GetIconForFile(String, __VSUIDATAFORMAT)
Obsolete.

Gets the 16x16 icon for the specified file.

GetIconForFileEx(String, __VSUIDATAFORMAT, UInt32)

Applies to