Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NullMappingDataReader.GetInt32 Method

Gets the 32-bit signed integer value of the specified field.

[Visual Basic]
Public Overridable Sub GetInt32( _
   ByVal i As Integer _
) _
    Implements IDataRecord.GetInt32
[C#]
public virtual int GetInt32(
   int i
);

Parameters

i
The index of the field to find.

Return Value

The 32-bit signed integer value of the specified field or 0 if null

Implements

IDataRecord.GetInt32

Exceptions

Exception Type Condition
IndexOutOfRangeException The index passed was outside the range of 0 through FieldCount.

See Also

NullMappingDataReader Class | Spring.Data.Support Namespace