CoreFileExists Method

檔案是否存在

Definition

Namespace: eBizprise.Framework
Assembly: eBizprise.Framework.Core (in eBizprise.Framework.Core.dll) Version: 26.0.0.0+6e92afb880fa099fdfe407c9aa8d1b17eaaf3625
C#
public static bool FileExists(
	string path,
	string name
)

Parameters

path  String
檔案路徑
name  String
檔案名稱

Return Value

Boolean
bool

Example

C#
bool isFileExist = Core.FileExists("C:\Temp", "test.json");

Revision History

DateVersionDescription
2020/05/211.0.6.0增加資料匣/檔案是否存在
2025/09/1925.0.0.0彙整2025年度初版

See Also