## EndPoint::Create method


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

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| socketAddress | System::SharedPtr\<SocketAddress\> | 将用于初始化新实例的 socket 地址。 |

### ReturnValue

新创建的 EndPoint 类实例。

## 另见

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