关闭当前的串口连接
Close the current serial connection
命名空间:
HslCommunication.Core.Pipe
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public OperateResult Close(
Func<SerialPort, OperateResult> extraOnClose
)
Public Function Close (
extraOnClose As Func(Of SerialPort, OperateResult)
) As OperateResult
public:
OperateResult^ Close(
Func<SerialPort^, OperateResult^>^ extraOnClose
)
member Close :
extraOnClose : Func<SerialPort, OperateResult> -> OperateResult
参数
- extraOnClose
- 类型:SystemFuncSerialPort, OperateResult
[缺少 "M:HslCommunication.Core.Pipe.PipeSerial.Close(System.Func{System.IO.Ports.SerialPort,HslCommunication.OperateResult})" 的 <param name="extraOnClose"/> 文档]
返回值
类型:
OperateResult[缺少 "M:HslCommunication.Core.Pipe.PipeSerial.Close(System.Func{System.IO.Ports.SerialPort,HslCommunication.OperateResult})" 的 <returns> 文档]
参见