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 命名空间