你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Check.DirectoryExists(String) 方法

定义

检查 DirectoryPath 是否存在 如果 DirectoryPath 不存在,则引发 DirectoryNotFoundException

public static void DirectoryExists (string dirPath);
static member DirectoryExists : string -> unit
Public Shared Sub DirectoryExists (dirPath As String)

参数

dirPath
String

目录路径

适用于