GetProviderSpecificFieldType(int) Method

Syntax:

public Type GetProviderSpecificFieldType(int ordinal)

Description:

Returns a provider-specific field type of the specified column

Parameters:

ordinal

Type: System.Int32

The zero-base column ordinal

Return Value:

Type: System.Type

The data type of the specified column

Exceptions:

Exception Condition
InvalidOperationException The RdmDataReader is closed or there is no current row.

Reference:

For more information, reference MSDN documentation for: System.Data.Common.DbDataReader.GetProviderSpecificFieldType