HslReflectionHelperReadT 方法 (IReadWriteNet) |
命名空间:
HslCommunication.Reflection
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<T> Read<T>(
IReadWriteNet readWrite
)
where T : class, new()
Public Shared Function Read(Of T As {Class, New}) (
readWrite As IReadWriteNet
) As OperateResult(Of T)
public:
generic<typename T>
where T : ref class, gcnew()
static OperateResult<T>^ Read(
IReadWriteNet^ readWrite
)
static member Read :
readWrite : IReadWriteNet -> OperateResult<'T> when 'T : not struct, new()
参数
- readWrite
- 类型:HslCommunication.CoreIReadWriteNet
读写接口的实现
类型参数
- T
- 自定义的数据类型对象
返回值
类型:
OperateResultT包含是否成功的结果对象
参见