Freigeben über


IVsTextColorState.GetColorStateAtStartOfLine(Int32, Int32) Method

Definition

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

public:
 int GetColorStateAtStartOfLine(int iLine, [Runtime::InteropServices::Out] int % piState);
int GetColorStateAtStartOfLine(int iLine, [Runtime::InteropServices::Out] int & piState);
public int GetColorStateAtStartOfLine (int iLine, out int piState);
abstract member GetColorStateAtStartOfLine : int * int -> int
Public Function GetColorStateAtStartOfLine (iLine As Integer, ByRef piState As Integer) As Integer

Parameters

iLine
Int32

[in] Line of interest.

piState
Int32

[out] Current color state.

Returns

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  
);  

Applies to