다음을 통해 공유


IVsDropdownBarClient3.GetEntryImage 메서드

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.

네임스페이스:  Microsoft.VisualStudio.TextManager.Interop
어셈블리:  Microsoft.VisualStudio.TextManager.Interop.12.1.DesignTime(Microsoft.VisualStudio.TextManager.Interop.12.1.DesignTime.dll)

구문

‘선언
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

매개 변수

  • iCombo
    형식: Int32

    The index of the combo box.

  • iIndex
    형식: Int32

    The index of the item.

  • piImageIndex
    형식: Int32%

    [out] The index of the image.

  • phImageList
    형식: IntPtr%

    [out] The pointer to the image list.

반환 값

형식: Int32
The HRESULT.

.NET Framework 보안

참고 항목

참조

IVsDropdownBarClient3 인터페이스

Microsoft.VisualStudio.TextManager.Interop 네임스페이스