System.IOUtils.TPath.IsPathRooted

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

Delphi

class function IsPathRooted(const Path: string): Boolean; inline; static;

C++

static bool __fastcall IsPathRooted(const System::UnicodeString Path);

プロパティ

種類 可視性 ソース ユニット
function public
System.IOUtils.pas
System.IOUtils.hpp
System.IOUtils TPath

説明

指定されたパスが相対パスか絶対パスかを確かめます。

IsPathRooted を呼び出すと、指定されたパスが相対パスか絶対パスかを確かめることができます。絶対パスの場合、IsPathRootedTrue を返し、そうでない場合は False を返します。このメソッドに必要なパラメータの一覧を以下の表に示します。



名前 意味

Path

確認の対象となるパス



関連項目