System.IOUtils.TPath.GetPathRoot
Delphi
class function GetPathRoot(const Path: string): string; static;
C++
static System::UnicodeString __fastcall GetPathRoot(const System::UnicodeString Path);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.IOUtils.pas System.IOUtils.hpp |
System.IOUtils | TPath |
説明
指定されたパスのルートを取得します。
GetPathRoot は、Path
で指定されたパスのルートを、抽出および返します。
与えられたパスが空、または、誤ったパス文字を含んでいる場合、GetPathRoot は EArgumentException を発生させます。