Compartilhar via


IVsTextStorage.Storage_RefreshColorization Method

Refresh the colorization of the specified set of lines.

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

Syntax

'Declaração
Function Storage_RefreshColorization ( _
    iTopLine As Integer, _
    iBotLine As Integer, _
    <OutAttribute> ByRef piLastAffectedLine As Integer _
) As Integer
int Storage_RefreshColorization(
    int iTopLine,
    int iBotLine,
    out int piLastAffectedLine
)
int Storage_RefreshColorization(
    [InAttribute] int iTopLine, 
    [InAttribute] int iBotLine, 
    [OutAttribute] int% piLastAffectedLine
)
abstract Storage_RefreshColorization : 
        iTopLine:int * 
        iBotLine:int * 
        piLastAffectedLine:int byref -> int 
function Storage_RefreshColorization(
    iTopLine : int, 
    iBotLine : int, 
    piLastAffectedLine : int
) : int

Parameters

  • iBotLine
    Type: System.Int32
    [in] The bottom line in the set.
  • piLastAffectedLine
    Type: System.Int32%
    [out] The last line affected by the colorization refresh.

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 IVsTextStorage::Storage_RefreshColorization(
   [in] long iTopLine,
   [in] long iBotLine,
   [out] long *piLastAffectedLine
);

.NET Framework Security

See Also

Reference

IVsTextStorage Interface

Microsoft.VisualStudio.TextManager.Interop Namespace