System::Net::Http::HttpUtilities::IsHttpUri 方法

HttpUtilities::IsHttpUri method

检查指定的 URI 是否为 HTTP URI。

static bool System::Net::Http::HttpUtilities::IsHttpUri(System::SharedPtr<Uri> uri)
ParameterType描述
uriSystem::SharedPtr<Uri>要检查的 URI。

ReturnValue

当指定的 URI 为 HTTP URI 时返回 true,否则返回 false。

另见