OperateResultT1, T2, T3, T4, T5, T6Check 方法 (FuncT1, T2, T3, T4, T5, T6, OperateResult) |
返回一个检查结果对象,可以进行自定义的数据检查。
Returns a check result object that allows you to perform custom data checks.
命名空间:
HslCommunication
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public OperateResult<T1, T2, T3, T4, T5, T6> Check(
Func<T1, T2, T3, T4, T5, T6, OperateResult> check
)
Public Function Check (
check As Func(Of T1, T2, T3, T4, T5, T6, OperateResult)
) As OperateResult(Of T1, T2, T3, T4, T5, T6)
public:
OperateResult<T1, T2, T3, T4, T5, T6>^ Check(
Func<T1, T2, T3, T4, T5, T6, OperateResult^>^ check
)
member Check :
check : Func<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, OperateResult> -> OperateResult<'T1, 'T2, 'T3, 'T4, 'T5, 'T6>
参数
- check
- 类型:SystemFuncT1, T2, T3, T4, T5, T6, OperateResult
检查的委托方法
返回值
类型:
OperateResultT1,
T2,
T3,
T4,
T5,
T6如果检查成功,则返回对象本身,如果失败,返回错误信息。
参见