Share via


IVsTextStorageColorState.GetColorStateAtStartOfLine(Int32, Int32) Method

Definition

Gets the color state at the start of the specified 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] The number of the line of interest.

piState
Int32

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

Applies to