IVsDataViewIconProvider.GetIcon Method
When implemented by a class, retrieves the icon displayed in Server Explorer for the specified node.
Namespace: Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'Declaration
Function GetIcon ( _
itemId As Integer _
) As Icon
Icon GetIcon(
int itemId
)
Icon^ GetIcon(
int itemId
)
abstract GetIcon :
itemId:int -> Icon
function GetIcon(
itemId : int
) : Icon
Parameters
itemId
Type: System.Int32A numerical identifier of the node for which you want to get the icon.
Return Value
Type: System.Drawing.Icon
An Icon object representing the node's icon.
.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.
See Also
Reference
IVsDataViewIconProvider Interface
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace