Método IVsCompletionSet3.GetContextIcon
Get the image index of the context icon for the given item. If piGlyph == -1, no icon is displayed.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.12.1.DesignTime (em Microsoft.VisualStudio.TextManager.Interop.12.1.DesignTime.dll)
Sintaxe
'Declaração
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
Parâmetros
iIndex
Tipo: Int32The icon index.
piGlyph
Tipo: Int32%[out] The image index
Valor de retorno
Tipo: Int32
The HRESULT.
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.