Compartir a través de


IVsDropdownBarClient.GetEntryAttributes (Método)

Devuelve los atributos del aspecto del texto en una entrada desplegable de combinación.

Espacio de nombres:  Microsoft.VisualStudio.TextManager.Interop
Ensamblado:  Microsoft.VisualStudio.TextManager.Interop (en Microsoft.VisualStudio.TextManager.Interop.dll)

Sintaxis

'Declaración
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

Parámetros

  • iCombo
    Tipo: Int32

    [in] La combinación desplegable de la barra o ventana.

  • iIndex
    Tipo: Int32

    [in] Índice del elemento de interés.

  • pAttr
    Tipo: UInt32%

    [out] atributo de fuente. Los valores para pAttr se toman de enumeración de DROPDOWNFONTATTR .

Valor devuelto

Tipo: Int32
si el método tiene éxito, devuelve S_OK.Si se produce un error, devuelve un código de error.

Comentarios

Prototipo COM

de textmgr.idl:

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

Seguridad de .NET Framework

Vea también

Referencia

IVsDropdownBarClient Interfaz

Microsoft.VisualStudio.TextManager.Interop (Espacio de nombres)