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

Directory::Exists method

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

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

ReturnValue

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

另见