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