SoftBufferGetBool 方法 (Int32, Int32, DataFormat) |
获取指定位置的bool数组值,如果超过,则引发异常
Get the bool array value at the specified position, if it exceeds, an exception is thrown
命名空间:
HslCommunication.BasicFramework
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.5.3.0 (12.5.3.0)
语法public bool[] GetBool(
int destIndex,
int length,
DataFormat dataFormat
)
Public Function GetBool (
destIndex As Integer,
length As Integer,
dataFormat As DataFormat
) As Boolean()
public:
array<bool>^ GetBool(
int destIndex,
int length,
DataFormat dataFormat
)
member GetBool :
destIndex : int *
length : int *
dataFormat : DataFormat -> bool[]
参数
- destIndex
- 类型:SystemInt32
目标存储的索引 - length
- 类型:SystemInt32
读取的数组长度 - dataFormat
- 类型:HslCommunication.CoreDataFormat
[缺少 "M:HslCommunication.BasicFramework.SoftBuffer.GetBool(System.Int32,System.Int32,HslCommunication.Core.DataFormat)" 的 <param name="dataFormat"/> 文档]
返回值
类型:
Booleanbool数组值
异常| 异常 | 条件 |
|---|
| IndexOutOfRangeException | |
参见