ITextDocument.Rename(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将文档重命名为给定的新文件路径。
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)
参数
- newFilePath
- String
此文档的新文件路径。
例外
已释放此对象。
此对象位于引发事件的中间。