System::Net::Dns::GetHostAddresses 方法
Dns::GetHostAddresses method
返回指定主机名或 IP 地址的 IP 地址集合。
static System::ArrayPtr<System::SharedPtr<IPAddress>> System::Net::Dns::GetHostAddresses(String hostNameOrAddress)
| 参数 | 类型 | 描述 |
|---|---|---|
| hostNameOrAddress | String | 包含主机名或 IP 地址的字符串。 |
ReturnValue
IP 地址的集合。
另见
- Typedef ArrayPtr
- Typedef SharedPtr
- Class IPAddress
- Class String
- Class Dns
- Namespace System::Net
- Library Aspose.Font for C++