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