DbDataRecord.GetFieldType Method (Int32)

 

Returns the Type that is the data type of the object.

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

public abstract Type GetFieldType(
	int i
)

Parameters

i
Type: System.Int32

The column ordinal.

Return Value

Type: System.Type

The Type that is the data type of the object.

.NET Framework
Available since 1.1
Return to top
Show: