Sdílet prostřednictvím


IVsTextBuffer.Reload(Int32) Method

Definition

Reloads the text buffer.

public:
 int Reload(int fUndoable);
public:
 int Reload(int fUndoable);
int Reload(int fUndoable);
public int Reload (int fUndoable);
abstract member Reload : int -> int
Public Function Reload (fUndoable As Integer) As Integer

Parameters

fUndoable
Int32

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

Returns

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextBuffer::Reload(  
   [in] BOOL fUndoable  
);  

Applies to