CoreFileExists Method

檔案是否存在

Definition

Namespace: eBizprise.Framework
Assembly: eBizprise.Framework.Core (in eBizprise.Framework.Core.dll) Version: 26.0.2.0+8b857ad8115790502a00f482082d0feffe7e9c92
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