System::IO::Path::GetPathRoot メソッド

Path::GetPathRoot method

指定されたパスのルートディレクトリを返します。

static String System::IO::Path::GetPathRoot(const String &path)
パラメーター説明
パスconst String&ルートを取得する対象のパス

ReturnValue

path のルートディレクトリ

参照