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

Path::GetPathRoot method

返回指定路径的根目录。

static String System::IO::Path::GetPathRoot(const String &path)
ParameterType描述
路径const String&获取根目录的路径

ReturnValue

path 的根目录

另见