アクティビティ
最新
バナーの背景画像
ワークフローに関するアクティビティ
最終更新日 2024年4月22日

パスの存在を確認

指定したパスが存在するかどうかをチェックします。パスとして、ファイル パスまたはディレクトリ パスを表現できます。

定義

名前空間: UiPath.Activities.System.API

アセンブリ: UiPath.System.Activities.Api (UiPath.System.Activities.Api.dll の場合)

オーバー ロード

  
PathExists(String)入力されたパスが存在するかどうかを確認します。
PathExists(String, PathType)入力したパスとパスの種類が存在するかどうかを確認します。
PathExists(String, ILocalResource)入力されたパスと、そのパスへの参照が存在するかどうかを確認します。
PathExists(String, PathType, ILocalResource)入力されたパス、パスの型、参照が存在するかどうかを確認します。

PathExists(String)

入力されたパスが存在するかどうかを確認します。

bool PathExists(
	string path
)bool PathExists(
	string path
)
path 文字列
チェック対象のフル パスです。

PathExists(String, PathType)

入力したパスとパスの種類が存在するかどうかを確認します。

bool PathExists(
	string path,
	PathType pathType
)bool PathExists(
	string path,
	PathType pathType
)
path 文字列
チェック対象のフル パスです。
pathType PathType
指定したパスが存在するかどうかを確認します。 パスは、ファイルまたはディレクトリを指定できます。

PathExists(String, ILocalResource)

入力されたパスと、そのパスへの参照が存在するかどうかを確認します。

bool PathExists(
	string path,
	out ILocalResource resource
)bool PathExists(
	string path,
	out ILocalResource resource
)
path 文字列
チェック対象のフル パスです。
resource ILocalResource
パスが存在する場合の参照です。

PathExists(String, PathType, ILocalResource)

入力されたパス、パスの型、参照が存在するかどうかを確認します。

bool PathExists(
	string path,
	PathType pathType,
	out ILocalResource resource
)bool PathExists(
	string path,
	PathType pathType,
	out ILocalResource resource
)
path 文字列
チェック対象のフル パスです。
pathType PathType
指定したパスが存在するかどうかを確認します。 パスは、ファイルまたはディレクトリを指定できます。
resource ILocalResource
パスが存在する場合の参照です。

戻り値

ドキュメントまたはファイルが見つかったかどうか表します。

Was this page helpful?

サポートを受ける
RPA について学ぶ - オートメーション コース
UiPath コミュニティ フォーラム
UiPath ロゴ (白)
信頼とセキュリティ
© 2005-2024 UiPath. All rights reserved.