IVsTextBuffer.Reload(Int32) Method

Definition

Reloads the text buffer.

C++/CX
public:
 int Reload(int fUndoable);

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:

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

Applies to

Produkt Versiounen
Visual Studio SDK 2015, 2017, 2019, 2022