SqlDataReader.GetFieldType(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the Type that is the data type of the object.
public:
override Type ^ GetFieldType(int i);
public override Type GetFieldType (int i);
override this.GetFieldType : int -> Type
Public Overrides Function GetFieldType (i As Integer) As Type
Parameters
- i
- Int32
The zero-based column ordinal.
Returns
The Type that is the data type of the object. If the type does not exist on the client, in the case of a User-Defined Type (UDT) returned from the database, GetFieldType returns null.