Partager via


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.Int32

    A 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

See Also

Reference

IVsDataViewIconProvider Interface

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace