语言

Server.FileExists(String) 方法

定义

检查指定的文件是否存在

public bool FileExists(string filePath);
member this.FileExists : string -> bool
Public Function FileExists (filePath As String) As Boolean

参数

filePath
String

文件路径

返回

一个布尔值,该值指示指定的文件是否存在

适用于