## Uri::CheckHostName method


确定指定主机名的类型。

```cpp
static UriHostNameType System::Uri::CheckHostName(String name)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| name | 字符串 | 要测试的主机名 |

### ReturnValue

The type of the specified host name

## 另见

* Enum [UriHostNameType](../../urihostnametype/)
* Class [String](../../string/)
* Class [Uri](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
