重命名目录,不支持跨目录重命名
Rename a directory; cross-directory renaming is not supported.
命名空间:
HslCommunication.Enthernet.Ftp
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.5.3.0 (12.5.3.0)
语法public OperateResult RenameFolder(
string oldPath,
string newPath
)
Public Function RenameFolder (
oldPath As String,
newPath As String
) As OperateResult
public:
OperateResult^ RenameFolder(
String^ oldPath,
String^ newPath
)
member RenameFolder :
oldPath : string *
newPath : string -> OperateResult
参数
- oldPath
- 类型:SystemString
例如 /A/B - newPath
- 类型:SystemString
例如 C
返回值
类型:
OperateResult是否重命名成功
参见