点击或拖拽改变大小

GroupFileContainerFileExists 方法

判断当前的文件名是否在文件的列表里,传入文件实际的名称,例如 123.txt,如果文件存在,返回 true, 如果不存在,返回 false
Determine whether the current file name is in the file list, and pass in the actual file name, such as 123.txt, if it exists, return true, if it does not exist, return false

命名空间:  HslCommunication.Core
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
public bool FileExists(
	string fileName
)

参数

fileName
类型:SystemString
实际的文件名称,如果 123.txt

返回值

类型:Boolean
如果文件存在,返回 true, 如果不存在,返回 false
参见