Gets a boolean value from the datareader.

Namespace: CodeSmith.Engine
Assembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
public virtual bool GetBoolean(
	int i
)
Visual Basic
Public Overridable Function GetBoolean ( 
	i As Integer
) As Boolean

Parameters

i
Type: System..::..Int32
Ordinal column position of the value.

Return Value

Type: Boolean

Implements

IDataRecord..::..GetBoolean(Int32)

Remarks

Returns falseFalsefalsefalse (False in Visual Basic) for null.

See Also