Version: 2020.2
Experimental: this API is experimental and might be changed or removed in the future.

Port.Create

切换到手册

参数

presenter (已弃用)。
orientation 定向。
direction 方向。
capacity 多个还是单个。
type 端口数据类型。

返回

Port 新端口。

描述

创建端口的工厂方法。