IVsTextStorage.Storage_RefreshColorization(Int32, Int32, Int32) Method

Definition

Refresh the colorization of the specified set of lines.

public:
 int Storage_RefreshColorization(int iTopLine, int iBotLine, [Runtime::InteropServices::Out] int % piLastAffectedLine);
int Storage_RefreshColorization(int iTopLine, int iBotLine, [Runtime::InteropServices::Out] int & piLastAffectedLine);
public int Storage_RefreshColorization (int iTopLine, int iBotLine, out int piLastAffectedLine);
abstract member Storage_RefreshColorization : int * int * int -> int
Public Function Storage_RefreshColorization (iTopLine As Integer, iBotLine As Integer, ByRef piLastAffectedLine As Integer) As Integer

Parameters

iTopLine
Int32

[in] The top line in the set.

iBotLine
Int32

[in] The bottom line in the set.

piLastAffectedLine
Int32

[out] The last line affected by the colorization refresh.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextStorage::Storage_RefreshColorization(  
   [in] long iTopLine,  
   [in] long iBotLine,  
   [out] long *piLastAffectedLine  
);  

Applies to