다음을 통해 공유


IVsTextColorState.GetColorStateAtStartOfLine Method

Returns the buffer's cached state for the start of the given line.

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

Syntax

‘선언
Function GetColorStateAtStartOfLine ( _
    iLine As Integer, _
    <OutAttribute> ByRef piState As Integer _
) As Integer
‘사용 방법
Dim instance As IVsTextColorState
Dim iLine As Integer
Dim piState As Integer
Dim returnValue As Integer

returnValue = instance.GetColorStateAtStartOfLine(iLine, _
    piState)
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

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

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

.NET Framework Security

See Also

Reference

IVsTextColorState Interface

IVsTextColorState Members

Microsoft.VisualStudio.TextManager.Interop Namespace