System::IO::Path::GetPathRoot 方法

Path::GetPathRoot method

返回指定路径的根目录。

static String System::IO::Path::GetPathRoot(const String &path)
参数类型描述
路径const String&用于获取根目录的路径

ReturnValue

path 的根目录

另见