PathUtil.IsNormalizedPath(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
用于检查给定路径是否为规范化格式的扩展方法。
public:
[System::Runtime::CompilerServices::Extension]
static bool IsNormalizedPath(System::String ^ path);
public:
[System::Runtime::CompilerServices::Extension]
static bool IsNormalizedPath(Platform::String ^ path);
public static bool IsNormalizedPath (this string path);
static member IsNormalizedPath : string -> bool
<Extension()>
Public Function IsNormalizedPath (path As String) As Boolean
参数
- path
- String
要测试的路径
返回
如果已规范化,则为 true,否则为 false