語言

Server.FileExists(String) 方法

定義

檢查指定檔案是否存在

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

參數

filePath
String

檔案路徑

傳回

一個布林值,表示指定檔案是否存在

適用於