DbDataReader.GetProviderSpecificValue(Int32) DbDataReader.GetProviderSpecificValue(Int32) DbDataReader.GetProviderSpecificValue(Int32) DbDataReader.GetProviderSpecificValue(Int32) Method

定义

以特定于提供程序的类型实例的形式获取指定列的值。Gets the value of the specified column as an instance of a provider-specific type.

public:
 virtual System::Object ^ GetProviderSpecificValue(int ordinal);
public virtual object GetProviderSpecificValue (int ordinal);
abstract member GetProviderSpecificValue : int -> obj
override this.GetProviderSpecificValue : int -> obj
Public Overridable Function GetProviderSpecificValue (ordinal As Integer) As Object

参数

ordinal
Int32 Int32 Int32 Int32

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

返回

指定列的值。The value of the specified column.

注解

若要确定返回的对象的特定类型,请GetProviderSpecificFieldType使用。To determine the specific type of the object returned, use GetProviderSpecificFieldType.

适用于

另请参阅