Condividi tramite


IVsCompletionSet3.GetContextIcon(Int32, Int32) Method

Definition

Get the image index of the context icon for the given item. If piGlyph == -1, no icon is displayed.

public:
 int GetContextIcon(int iIndex, [Runtime::InteropServices::Out] int % piGlyph);
public int GetContextIcon (int iIndex, out int piGlyph);
abstract member GetContextIcon : int * int -> int
Public Function GetContextIcon (iIndex As Integer, ByRef piGlyph As Integer) As Integer

Parameters

iIndex
Int32

The icon index.

piGlyph
Int32

[out] The image index

Returns

The HRESULT.

Applies to