System::Net::Dns::GetHostByName 方法
Dns::GetHostByName method
RTTI 信息。
static System::SharedPtr<IPHostEntry> System::Net::Dns::GetHostByName(String hostName)
| Parameter | Type | 描述 |
|---|---|---|
| hostName | 字符串 | 主机名。 |
ReturnValue
新创建的 IPHostEntry-class 实例。
备注
使用指定的主机名创建新的 IPHostEntry 类实例。
另见
- Typedef SharedPtr
- Class IPHostEntry
- Class String
- Class Dns
- Namespace System::Net
- Library Aspose.Page for C++