 | FileExExists 方法 |
Sweet 开发框架
检测指定文件是否存在,如果存在则返回true。
命名空间:
Sweet.Common
程序集:
Sweet.Common (在 Sweet.Common.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法public static bool Exists(
string filePath
)
Public Shared Function Exists (
filePath As String
) As Boolean
static member Exists :
filePath : string -> bool
参数
- filePath
- 类型:SystemString
文件的绝对路径
返回值
类型:
Boolean结果
参见