共用方式為


PathUtil.IsDirectorySeparator(Char) Method

Definition

Determines if a character is a directory separator

public:
 static bool IsDirectorySeparator(char c);
public:
 static bool IsDirectorySeparator(char16 c);
 static bool IsDirectorySeparator(char c);
public static bool IsDirectorySeparator (char c);
static member IsDirectorySeparator : char -> bool
Public Function IsDirectorySeparator (c As Char) As Boolean

Parameters

c
Char

Character to test

Returns

True if c is a directory separator, false if not

Applies to