My.Computer.Ports 对象成员

更新:2007 年 11 月

My.Computer.Ports 对象提供了访问计算机串行端口的属性和方法。

属性

SerialPortNames

获取计算机上串行端口的名称集合。

此属性对于 Web 应用程序不可用。

方法

OpenSerialPort

创建和打开 SerialPort 对象。

此方法对于 Web 应用程序不可用。

请参见

参考

My.Computer.Ports 对象