Método IVsDropdownBarClient.GetEntryAttributes
Retorna os atributos de aparência de uma entrada de combinação drop-down de texto.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (em Microsoft.VisualStudio.TextManager.Interop.dll)
Sintaxe
'Declaração
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] A barra de menu suspenso / combinação da janela.
iIndex
Tipo: Int32[in] Índice do item de interesse.
pAttr
Tipo: UInt32%[out] Atributo de fonte. Os valores de pAttr são obtidas a partir do DROPDOWNFONTATTR enum.
Valor de retorno
Tipo: Int32
Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.
Comentários
COM assinatura
De textmgr.idl:
HRESULT IVsDropdownBarClient::GetEntryAttributes(
[in] long iCombo,
[in] long iIndex,
[out] ULONG *pAttr
);
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.