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.
pIconObject
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIObject[in] The icon object to add to the service.
.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.