CoreFileExists Method

檔案是否存在

Definition

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