语言

PipelineBuffer.GetBoolean(Int32) 方法

定义

获取列中 PipelineBuffer 存储的布尔值。

public:
 bool GetBoolean(int columnIndex);
public bool GetBoolean(int columnIndex);
member this.GetBoolean : int -> bool
Public Function GetBoolean (columnIndex As Integer) As Boolean

参数

columnIndex
Int32

行中 PipelineBuffer 列的索引。

返回

列中存储 PipelineBuffer 的布尔值。

注解

该方法适用于集成服务中的数据 DT_BOOL 类型。

如果列的值为空,则 PipelineBuffer 产生一个 ColumnIsNullException。 你可以通过调用方法 IsNull 来检查 null。

有关集成服务数据类型的完整列表以及该类中用于各类型的对应GetSet方法PipelineBuffer,请参见“在数据流中与数据类型工作”。

适用于