System::Uri::IsWellFormedUriString 方法

Uri::IsWellFormedUriString method

确定指定字符串是否为格式良好的 URI。

static bool System::Uri::IsWellFormedUriString(const String &uriString, UriKind uriKind)
参数类型描述
uriStringconst String&要测试的 URI
uriKindUriKind指定 URI 的类型

ReturnValue

如果指定的 URI 格式良好,则为 true,否则为 false

另见