System::IO::Path::GetDirectoryName 方法

Path::GetDirectoryName method

返回由指定路径引用的目录名称。

static String System::IO::Path::GetDirectoryName(const String &path)
参数类型描述
路径const String&指向目录的路径

ReturnValue

目录的名称

另见