Share via


IVsDataViewIconProvider.GetIcon(Int32) Method

Definition

When implemented by a class, retrieves the icon displayed in Server Explorer for the specified node.

public:
 System::Drawing::Icon ^ GetIcon(int itemId);
public System.Drawing.Icon GetIcon (int itemId);
abstract member GetIcon : int -> System.Drawing.Icon
Public Function GetIcon (itemId As Integer) As Icon

Parameters

itemId
Int32

A numerical identifier of the node for which you want to get the icon.

Returns

An Icon object representing the node's icon.

Applies to