Поделиться через


IVsDropdownBarClient.GetEntryAttributes - метод

Возвращает атрибуты вид текста для раскрывающейся сочетания записи.

Пространство имен:  Microsoft.VisualStudio.TextManager.Interop
Сборка:  Microsoft.VisualStudio.TextManager.Interop (в Microsoft.VisualStudio.TextManager.Interop.dll)

Синтаксис

'Декларация
Function GetEntryAttributes ( _
    iCombo As Integer, _
    iIndex As Integer, _
    <OutAttribute> ByRef pAttr As UInteger _
) As Integer
int GetEntryAttributes(
    int iCombo,
    int iIndex,
    out uint pAttr
)
int GetEntryAttributes(
    [InAttribute] int iCombo, 
    [InAttribute] int iIndex, 
    [OutAttribute] unsigned int% pAttr
)
abstract GetEntryAttributes : 
        iCombo:int * 
        iIndex:int * 
        pAttr:uint32 byref -> int
function GetEntryAttributes(
    iCombo : int, 
    iIndex : int, 
    pAttr : uint
) : int

Параметры

  • iCombo
    Тип: Int32

    [in] список линейчатых диаграмм или окно комбинированное.

  • iIndex
    Тип: Int32

    [in] индекс элемента.

  • pAttr
    Тип: UInt32%

    [out] атрибут шрифта. Значения pAttr создание из DROPDOWNFONTATTR перечисления.

Возвращаемое значение

Тип: Int32
Если метод завершается успешно, возвращается S_OK.Если происходит сбой, возвращается код ошибки.

Заметки

Модель COM подписи

Из textmgr.idl:

HRESULT IVsDropdownBarClient::GetEntryAttributes(
   [in] long iCombo,
   [in] long iIndex,
   [out] ULONG *pAttr
);

Безопасность платформы .NET Framework

См. также

Ссылки

IVsDropdownBarClient Интерфейс

Microsoft.VisualStudio.TextManager.Interop - пространство имен