PipelineBuffer.IsNull(Int32) Method

Definition

Checks to see if the data in a buffer column is null.

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

Parameters

columnIndex
Int32

The index of the column in the buffer row.

Returns

true if the column contains null; otherwise, false.

Remarks

It is recommended that you call the IsNull method prior to calling a data type accessor method, such as GetBoolean, because the PipelineBuffer will produce a ColumnIsNullException if the column is null.

Applies to