Bewerken

Delen via


DbDataReader.GetProviderSpecificFieldType(Int32) Method

Definition

Gets the provider-specific type of the specified column.

public:
 virtual Type ^ GetProviderSpecificFieldType(int ordinal);
public virtual Type GetProviderSpecificFieldType (int ordinal);
abstract member GetProviderSpecificFieldType : int -> Type
override this.GetProviderSpecificFieldType : int -> Type
Public Overridable Function GetProviderSpecificFieldType (ordinal As Integer) As Type

Parameters

ordinal
Int32

The zero-based column ordinal.

Returns

A provider-specific .NET type.

Exceptions

The column index is out of range.

Applies to

See also