Compartilhar via


VsTextBufferClass.Reload Method

Reloads the text buffer.

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

Syntax

'Declaration
Public Overridable Function Reload ( _
    fUndoable As Integer _
) As Integer
public virtual int Reload(
    int fUndoable
)
public:
virtual int Reload(
    [InAttribute] int fUndoable
)
abstract Reload : 
        fUndoable:int -> int  
override Reload : 
        fUndoable:int -> int
public function Reload(
    fUndoable : int
) : int

Parameters

  • fUndoable
    Type: System.Int32

    [in] Specifies whether the unload action is undoable. Currently, non-undo support is not implemented, so the reload is always undoable.

Return Value

Type: System.Int32
If the method succeeds, returns S_OK; otherwise, returns an error code.

Implements

IVsTextBuffer.Reload(Int32)

.NET Framework Security

See Also

Reference

VsTextBufferClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace