没有合适的资源?快使用搜索试试~ 我知道了~
using System.IO.Ports 头文件内的函数 详细解释 帮助正确全面理解串口函数的使用
资源推荐
资源详情
资源评论
namespace System.IO.Ports
{
摘要:
表示串行端口资源。
[MonitoringDescription("SerialPortDesc")]
public class SerialPort : Component
{
************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** **************・・・・・・・・
摘要:
指示不应该发生超时。
public const int InfiniteTimeout = -1;
************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** **************
摘要:
初始化 System.IO.Ports.SerialPort 类的新实例。
public SerialPort();
************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** **************
摘要:
使用指定的端口名称初始化 System.IO.Ports.SerialPort 类的新实例。
参数:
portName:
要使用的端口(例如 COM1)。
异常:
T:System.IO.IOException:
未能找到或打开指定的端口。
[TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
{
摘要:
表示串行端口资源。
[MonitoringDescription("SerialPortDesc")]
public class SerialPort : Component
{
************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** **************・・・・・・・・
摘要:
指示不应该发生超时。
public const int InfiniteTimeout = -1;
************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** **************
摘要:
初始化 System.IO.Ports.SerialPort 类的新实例。
public SerialPort();
************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** **************
摘要:
使用指定的端口名称初始化 System.IO.Ports.SerialPort 类的新实例。
参数:
portName:
要使用的端口(例如 COM1)。
异常:
T:System.IO.IOException:
未能找到或打开指定的端口。
[TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public SerialPort(string portName);
************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** **************
摘要:
使用指定的 System.ComponentModel.IContainer 对象初始化 System.IO.Ports.SerialPort 类的新实例。
参数:
container:
容器的接口。
异常:
T:System.IO.IOException:
未能找到或打开指定的端口。
public SerialPort(IContainer container);
************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** **************
摘要:
使用指定的端口名称和波特率初始化 System.IO.Ports.SerialPort 类的新实例。
参数:
portName:
要使用的端口(例如 COM1)。
baudRate:
波特率。
异常:
T:System.IO.IOException:
未能找到或打开指定的端口。
[TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public SerialPort(string portName, int baudRate);
************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** **************
************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** **************
摘要:
使用指定的 System.ComponentModel.IContainer 对象初始化 System.IO.Ports.SerialPort 类的新实例。
参数:
container:
容器的接口。
异常:
T:System.IO.IOException:
未能找到或打开指定的端口。
public SerialPort(IContainer container);
************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** **************
摘要:
使用指定的端口名称和波特率初始化 System.IO.Ports.SerialPort 类的新实例。
参数:
portName:
要使用的端口(例如 COM1)。
baudRate:
波特率。
异常:
T:System.IO.IOException:
未能找到或打开指定的端口。
[TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public SerialPort(string portName, int baudRate);
************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** ************** **************
剩余29页未读,继续阅读
资源评论
ppqgt
- 粉丝: 5
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功