ReaderFieldValueOrDefaultT Method |
Gets the field value or
default(), if the value is
DBNull.
Namespace:
Dundas.BI.Data.DataProviders
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax public T FieldValueOrDefault<T>(
int columnIndex
)
Public Function FieldValueOrDefault(Of T) (
columnIndex As Integer
) As T
public:
generic<typename T>
T FieldValueOrDefault(
int columnIndex
)
member FieldValueOrDefault :
columnIndex : int -> 'T
Parameters
- columnIndex
- Type: SystemInt32
Column index.
Type Parameters
- T
- The type of the value to be returned.
Return Value
Type:
TThe field value or
default(), if the value is
DBNull.
See Also