Поделиться через


IVsCompletionSet3.GetContextIcon - метод

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

Пространство имен:  Microsoft.VisualStudio.TextManager.Interop
Сборка:  Microsoft.VisualStudio.TextManager.Interop.12.1.DesignTime (в Microsoft.VisualStudio.TextManager.Interop.12.1.DesignTime.dll)

Синтаксис

'Декларация
Function GetContextIcon ( _
    iIndex As Integer, _
    <OutAttribute> ByRef piGlyph As Integer _
) As Integer
int GetContextIcon(
    int iIndex,
    out int piGlyph
)
int GetContextIcon(
    [InAttribute] int iIndex, 
    [OutAttribute] int% piGlyph
)
abstract GetContextIcon : 
        iIndex:int * 
        piGlyph:int byref -> int
function GetContextIcon(
    iIndex : int, 
    piGlyph : int
) : int

Параметры

  • iIndex
    Тип: Int32

    The icon index.

  • piGlyph
    Тип: Int32%

    [out] The image index

Возвращаемое значение

Тип: Int32
The HRESULT.

Безопасность платформы .NET Framework

См. также

Ссылки

IVsCompletionSet3 Интерфейс

Microsoft.VisualStudio.TextManager.Interop - пространство имен