Udostępnij za pośrednictwem


ITextDocument.Rename(String) Method

Definition

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.

Applies to