Gets an integer 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 int GetInt32(
	int i
)
Visual Basic
Public Overridable Function GetInt32 ( 
	i As Integer
) As Integer

Parameters

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

Return Value

Type: Int32

Implements

IDataRecord..::..GetInt32(Int32)

Remarks

Returns 0 for null.

See Also