DbDataReader.GetProviderSpecificFieldType(Int32) 方法

定义

获取指定列的特定于提供程序的类型。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

参数

ordinal
Int32

从零开始的列序号。The zero-based column ordinal.

返回

特定于提供程序的 .NET 类型。A provider-specific .NET type.

例外

列索引超出范围。The column index is out of range.

适用于

另请参阅