Reload Method
This documentation is archived and is not being maintained.

IVsTextBuffer.Reload Method

Reloads the text buffer.

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

int Reload(
	int 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, it returns S_OK. If it fails, it returns an error code.

COM Signature

From textmgr.idl:

HRESULT IVsTextBuffer::Reload(
   [in] BOOL fUndoable

© 2016 Microsoft