다음을 통해 공유


IVsDropdownBarClient.GetComboAttributes 메서드

드롭다운 도구 모음에 대 한 정보를 반환 / 창 조합입니다.

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

구문

‘선언
Function GetComboAttributes ( _
    iCombo As Integer, _
    <OutAttribute> ByRef pcEntries As UInteger, _
    <OutAttribute> ByRef puEntryType As UInteger, _
    <OutAttribute> ByRef phImageList As IntPtr _
) As Integer
int GetComboAttributes(
    int iCombo,
    out uint pcEntries,
    out uint puEntryType,
    out IntPtr phImageList
)
int GetComboAttributes(
    [InAttribute] int iCombo, 
    [OutAttribute] unsigned int% pcEntries, 
    [OutAttribute] unsigned int% puEntryType, 
    [OutAttribute] IntPtr% phImageList
)
abstract GetComboAttributes : 
        iCombo:int * 
        pcEntries:uint32 byref * 
        puEntryType:uint32 byref * 
        phImageList:IntPtr byref -> int
function GetComboAttributes(
    iCombo : int, 
    pcEntries : uint, 
    puEntryType : uint, 
    phImageList : IntPtr
) : int

매개 변수

  • iCombo
    형식: Int32

    [in] 드롭다운 표시줄로 / 창 조합입니다.

  • pcEntries
    형식: UInt32%

    [in] 조합의 항목 수입니다.

  • puEntryType
    형식: UInt32%

    [out] 조합에 대 한 드로잉 프로토콜을 지정합니다. 값에서 결정 되는 DROPDOWNENTRYTYPE 열거형입니다.

  • phImageList
    형식: IntPtr%

    [out] 하는 HIMAGELIST 핸들.

반환 값

형식: Int32
메서드가 성공 하면, 반환 S_OK.실패할 경우 오류 코드를 반환합니다.

설명

COM 시그니처

Textmgr.idl에서:

HRESULT IVsDropdownBarClient::GetComboAttributes(
   [in] long iCombo,
   [out] ULONG *pcEntries,
   [out] ULONG *puEntryType
);

Out 매개 변수를 phImageList, puEntryType, 및 pcEntries를 사용할 수 있습니다 nullNull 참조(Visual Basic의 경우 Nothing) 관련된 정보가 필요 하지 않으면.

참고

phImageListGetComboAttributes 컴퓨터 간에 마샬링할 수 없습니다.

.NET Framework 보안

참고 항목

참조

IVsDropdownBarClient 인터페이스

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