ITextDocument.Rename(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Rename the document to the given new file path.
public:
void Rename(System::String ^ newFilePath);
public:
void Rename(Platform::String ^ newFilePath);
void Rename(std::wstring const & newFilePath);
public void Rename (string newFilePath);
abstract member Rename : string -> unit
Public Sub Rename (newFilePath As String)
Parameters
- newFilePath
- String
The new file path for this document.
Exceptions
This object has been disposed.
This object is in the middle of raising events.