共用方式為


PathUtil.LooksLikeLocalRootedFilePath(String) Method

Definition

Heuristically determines whether the given string "looks like" a local rooted file path -- e.g. begins with a drive letter followed by ":", contains only valid path characters, etc.

public:
 static bool LooksLikeLocalRootedFilePath(System::String ^ s);
public static bool LooksLikeLocalRootedFilePath (string s);
static member LooksLikeLocalRootedFilePath : string -> bool
Public Function LooksLikeLocalRootedFilePath (s As String) As Boolean

Parameters

s
String

Returns

Applies to