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 int GetInt32(
	string name
)
Visual Basic
Public Function GetInt32 ( 
	name As String
) As Integer

Parameters

name
Type: System..::..String
Name of the column containing the value.

Return Value

Type: Int32

Remarks

Returns 0 for null.

See Also