ITextDocument.Reload ITextDocument.Reload ITextDocument.Reload ITextDocument.Reload ITextDocument.Reload ITextDocument.Reload Method

Definition

Overloads

Reload(EditOptions) Reload(EditOptions) Reload(EditOptions) Reload(EditOptions) Reload(EditOptions)

Reloads the contents of FilePath into TextBuffer, using the given EditOptions.
If the load fails, the contents of the ITextBuffer remains unchanged.

Reload() Reload() Reload() Reload() Reload() Reload()

Reloads the contents of FilePath into TextBuffer.
If the load fails, the contents of the ITextBuffer remains unchanged.

Reload(EditOptions) Reload(EditOptions) Reload(EditOptions) Reload(EditOptions) Reload(EditOptions)

Reloads the contents of FilePath into TextBuffer, using the given EditOptions.
If the load fails, the contents of the ITextBuffer remains unchanged.

public:
 Microsoft::VisualStudio::Text::ReloadResult Reload(Microsoft::VisualStudio::Text::EditOptions options);
Microsoft::VisualStudio::Text::ReloadResult Reload(Microsoft::VisualStudio::Text::EditOptions options);
public Microsoft.VisualStudio.Text.ReloadResult Reload (Microsoft.VisualStudio.Text.EditOptions options);
abstract member Reload : Microsoft.VisualStudio.Text.EditOptions -> Microsoft.VisualStudio.Text.ReloadResult
Public Function Reload (options As EditOptions) As ReloadResult
Parameters
options
EditOptions EditOptions EditOptions EditOptions EditOptions EditOptions

The options to use for the text buffer edit.

Returns

Indicates whether the reload took place and whether the encoding was sufficient.

Exceptions

Remarks

If the load fails, the contents of the ITextBuffer remains unchanged.

Reload() Reload() Reload() Reload() Reload() Reload()

Reloads the contents of FilePath into TextBuffer.
If the load fails, the contents of the ITextBuffer remains unchanged.

public:
 Microsoft::VisualStudio::Text::ReloadResult Reload();
public:
 Microsoft::VisualStudio::Text::ReloadResult Reload();
Microsoft::VisualStudio::Text::ReloadResult Reload();
public Microsoft.VisualStudio.Text.ReloadResult Reload ();
abstract member Reload : unit -> Microsoft.VisualStudio.Text.ReloadResult
Public Function Reload () As ReloadResult
Returns

Indicates whether the reload took place and whether the encoding was sufficient.

Exceptions

Remarks

If the load fails, the contents of the ITextBuffer remains unchanged.

Applies to