System.IOUtils.TPath.GetPathRoot

提供: RAD Studio API Documentation
移動先: 案内検索

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 で指定されたパスのルートを、抽出および返します。

与えられたパスが空、または、誤ったパス文字を含んでいる場合、GetPathRootEArgumentException を発生させます。

関連項目