共用方式為


NameValidator.ValidateDirectoryName(String) Method

Definition

Checks if a directory name is valid.

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

Parameters

directoryName
String

A string representing the directory name to validate.

Applies to