## IPAddress::TryParse method


尝试将传入的字符串转换为 [IPAddress](../) 类的实例。

```cpp
static bool System::Net::IPAddress::TryParse(String ipString, System::SharedPtr<IPAddress> &address)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| ipString | String | 要解析的字符串。 |
| 地址 | System::SharedPtr\\<IPAddress\\>\\& | 已解析对象将被分配的实例。 |

### ReturnValue

解析成功时为 true，否则为 false。

## 另见

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [IPAddress](../)
* Class [IPAddress](../)
* Namespace [System::Net](../../)
* Library [Aspose.Font for C++](../../../)
