System::IO::Directory::Exists 方法

Directory::Exists method

确定指定路径是否指向现有目录。

static bool System::IO::Directory::Exists(const String &path)
参数类型描述
路径const String&要检查的路径

ReturnValue

如果指定路径指向已存在的目录则返回 true,否则返回 false

另见