System.IOUtils.TPath.HasValidPathChars

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

Delphi

class function HasValidPathChars(const Path: string;  const UseWildcards: Boolean): Boolean; static;

C++

static bool __fastcall HasValidPathChars(const System::UnicodeString Path, const bool UseWildcards);

プロパティ

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

説明

指定されたパス文字列が使用可能な文字だけで構成されているかどうかを確かめます。

HasValidPathChars を呼び出すと、指定されたパス文字列が使用可能な文字だけで構成されているかどうかを確かめることができます。文字列が使用可能な文字だけで構成されている場合、HasValidPathCharsTrue を返し、そうでない場合は False を返します。このメソッドに必要なパラメータの一覧を以下の表に示します。



名前 意味

Path

確認の対象となるパス文字列

UseWildcards

マスク文字(たとえば、アスタリスクや疑問符など)を有効なパス文字として扱うかどうかを指定します。



関連項目