System.Data.SqlClient Namespace SqlDataReader Class
Returns the Type that is the data type of the object.
[ VB ]
NotOverridable Public Function GetFieldType ( _
ByVal index As Integer _
) As Type
[ C# ]
public Type GetFieldType (
int index
);
[ C++ ]
public: __sealed Type* GetFieldType (
int index
);
[ JScript ]
public function GetFieldType (
index : int
) : Type
- index
- The zero-based column ordinal.
The Type that is the data type of the object.
SqlDataReader Members