Freigeben über


IVsTextColorState.GetColorStateAtStartOfLine-Methode

Gibt den zwischengespeicherten Zustand des Puffers für den Anfang der angegebenen Zeile zurück.

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

Syntax

'Declaration
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

Parameter

  • iLine
    Typ: Int32

    [in] betreffende Zeile.

  • piState
    Typ: Int32%

    [out] Aktueller Zustand der Farben.

Rückgabewert

Typ: Int32
Wenn die Methode erfolgreich ausgeführt, gibt sie S_OKzurück.Bei einem Fehler wird ein Fehlercode zurückgegeben.

Hinweise

COM-Signatur

Von textmgr.idl:

HRESULT IVsTextColorState::GetColorStateAtStartOfLine(
   [in] long iLine,
   [out] long *piState
);

.NET Framework-Sicherheit

Siehe auch

Referenz

IVsTextColorState Schnittstelle

Microsoft.VisualStudio.TextManager.Interop-Namespace