ITextDocument::Rename Method (String^)
Visual Studio 2015
Rename the document to the given new file path.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Parameters
- newFilePath
-
Type:
System::String^
The new file path for this document.
| Exception | Condition |
|---|---|
| InvalidOperationException | This object is in the middle of raising events. |
| ObjectDisposedException | This object has been disposed. |
Show: