语言

Server.ParentDirectoryExists(String) 方法

定义

检查指定文件的父目录是否存在

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

参数

filePath
String

文件路径

返回

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

适用于