Partilhar via


Método IVsCompletionSetBuilder.GetBuilderItemColor

Obtém a cor de primeiro plano/plano de fundo.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (em Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Sintaxe

'Declaração
Function GetBuilderItemColor ( _
    iIndex As Integer, _
    <OutAttribute> ByRef dwFGColor As UInteger, _
    <OutAttribute> ByRef dwBGColor As UInteger _
) As Integer
int GetBuilderItemColor(
    int iIndex,
    out uint dwFGColor,
    out uint dwBGColor
)
int GetBuilderItemColor(
    [InAttribute] int iIndex, 
    [OutAttribute] unsigned int% dwFGColor, 
    [OutAttribute] unsigned int% dwBGColor
)
abstract GetBuilderItemColor : 
        iIndex:int * 
        dwFGColor:uint32 byref * 
        dwBGColor:uint32 byref -> int
function GetBuilderItemColor(
    iIndex : int, 
    dwFGColor : uint, 
    dwBGColor : uint
) : int

Parâmetros

  • iIndex
    Tipo: Int32

    [in] O índice do conjunto de conclusão.

  • dwFGColor
    Tipo: UInt32%

    [out] A cor de primeiro plano.

  • dwBGColor
    Tipo: UInt32%

    [out] A cor de plano de fundo.

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 textmgr2.idl:

HRESULT IVsCompletionSetBuilder::GetBuilderItemColor(
   [in] long iIndex,
   [out] COLORREF *dwFGColor,
   [out] COLORREF *dwBGColor
);

Segurança do .NET Framework

Consulte também

Referência

IVsCompletionSetBuilder Interface

Namespace Microsoft.VisualStudio.TextManager.Interop