Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NullMappingDataReader.IsDBNull Method

Return whether the specified field is set to null.

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

Parameters

i
The index of the field to find.

Return Value

true if the specified field is set to null, otherwise false.

Implements

IDataRecord.IsDBNull

Exceptions

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

See Also

NullMappingDataReader Class | Spring.Data.Support Namespace