System::Uri::IsWellFormedUriString method

Uri::IsWellFormedUriString method

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

static bool System::Uri::IsWellFormedUriString(const String &uriString, UriKind uriKind)
ParameterType描述
uriStringconst String&The URI to test
uriKindUriKindThe type of the specified URI

ReturnValue

True if the specified URI is well-formed, otherwise - false

另见