## EndPoint::Create method


使用指定的套接字地址创建 [EndPoint](../) 类的新实例。

```cpp
virtual System::SharedPtr<EndPoint> System::Net::EndPoint::Create(System::SharedPtr<SocketAddress> socketAddress)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| socketAddress | System::SharedPtr\<SocketAddress\> | 将在初始化新实例时使用的套接字地址。 |

### ReturnValue

新创建的 EndPoint 类实例。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [EndPoint](../)
* Class [SocketAddress](../../socketaddress/)
* Class [EndPoint](../)
* Namespace [System::Net](../../)
* Library [Aspose.Page for C++](../../../)
