IVsDropdownBarClient3.GetEntryImage (Método)
The successor to the GetEntryImage method. This method also returns the image list. If this method returns a non-zero result, the dropdown bar calls GetEntryImage instead.
Espacio de nombres: Microsoft.VisualStudio.TextManager.Interop
Ensamblado: Microsoft.VisualStudio.TextManager.Interop.12.1.DesignTime (en Microsoft.VisualStudio.TextManager.Interop.12.1.DesignTime.dll)
Sintaxis
'Declaración
Function GetEntryImage ( _
iCombo As Integer, _
iIndex As Integer, _
<OutAttribute> ByRef piImageIndex As Integer, _
<OutAttribute> ByRef phImageList As IntPtr _
) As Integer
int GetEntryImage(
int iCombo,
int iIndex,
out int piImageIndex,
out IntPtr phImageList
)
int GetEntryImage(
[InAttribute] int iCombo,
[InAttribute] int iIndex,
[OutAttribute] int% piImageIndex,
[OutAttribute] IntPtr% phImageList
)
abstract GetEntryImage :
iCombo:int *
iIndex:int *
piImageIndex:int byref *
phImageList:IntPtr byref -> int
function GetEntryImage(
iCombo : int,
iIndex : int,
piImageIndex : int,
phImageList : IntPtr
) : int
Parámetros
iCombo
Tipo: Int32The index of the combo box.
iIndex
Tipo: Int32The index of the item.
piImageIndex
Tipo: Int32%[out] The index of the image.
phImageList
Tipo: IntPtr%[out] The pointer to the image list.
Valor devuelto
Tipo: Int32
The HRESULT.
Seguridad de .NET Framework
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.
Vea también
Referencia
IVsDropdownBarClient3 Interfaz
Microsoft.VisualStudio.TextManager.Interop (Espacio de nombres)