Partilhar via


Método IVsTextStorageColorState.GetColorStateAtStartOfLine

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

Sintaxe

'Declaração
Function GetColorStateAtStartOfLine ( _
    iLine As Integer, _
    <OutAttribute> ByRef piState As Integer _
) As Integer
int GetColorStateAtStartOfLine(
    int iLine,
    out int piState
)
int GetColorStateAtStartOfLine(
    [InAttribute] int iLine, 
    [OutAttribute] int% piState
)
abstract GetColorStateAtStartOfLine : 
        iLine:int * 
        piState:int byref -> int
function GetColorStateAtStartOfLine(
    iLine : int, 
    piState : int
) : int

Parâmetros

  • iLine
    Tipo: Int32

    [in]

  • piState
    Tipo: Int32%

    [out]

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 IVsTextStorageColorState::GetColorStateAtStartOfLine(
   [in] long iLine, 
   [out] long *piState
);

Segurança do .NET Framework

Consulte também

Referência

IVsTextStorageColorState Interface

Namespace Microsoft.VisualStudio.TextManager.Interop