ReaderNetReadByteAsync 方法 |
读取指定地址的byte数据
命名空间:
HslCommunication.Profinet.Turck
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult<byte>> ReadByteAsync(
string address
)
Public Function ReadByteAsync (
address As String
) As Task(Of OperateResult(Of Byte))
public:
Task<OperateResult<unsigned char>^>^ ReadByteAsync(
String^ address
)
member ReadByteAsync :
address : string -> Task<OperateResult<byte>>
参数
- address
- 类型:SystemString
起始地址
返回值
类型:
TaskOperateResultByte是否读取成功的结果对象 -> Whether to read the successful result object
示例 参见