Dela via


IVsImageService.Add Method

Adds an icon with the specified name to the service.

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

Syntax

'Declaration
Sub Add ( _
    Name As String, _
    pIconObject As IVsUIObject _
)
void Add(
    string Name,
    IVsUIObject pIconObject
)
void Add(
    [InAttribute] String^ Name, 
    [InAttribute] IVsUIObject^ pIconObject
)
abstract Add : 
        Name:string * 
        pIconObject:IVsUIObject -> unit
function Add(
    Name : String, 
    pIconObject : IVsUIObject
)

Parameters

  • Name
    Type: String

    [in] Name of the icon.

.NET Framework Security

See Also

Reference

IVsImageService Interface

Microsoft.VisualStudio.Shell.Interop Namespace