'Usage Dim instance As TdDataReader Dim ordinal As Integer Dim value As TdTime value = instance.GetTdTime(ordinal)
Parameters
- ordinal
- Column Ordinal
Return Value
Returns the value of the specified field represented as a TdTime type.
'Usage Dim instance As TdDataReader Dim ordinal As Integer Dim value As TdTime value = instance.GetTdTime(ordinal)
Exception | Description |
---|---|
System.IndexOutOfRangeException | ordinal is less than zero or ordinal is equal to or greater than TdDataReader.FieldCount. |
System.InvalidCastException | The field cannot be converted into TdTime. |
System.InvalidOperationException | CommandBehavior is set to SchemaOnly, or there is no data for the row or column, or preceding columns are no longer accessible. |
System.ObjectDisposedException | The TdDataReader is closed. |
TdException | The Advanced SQL Engine returned an error, or .NET Data Provider for Teradata detected an error. |
Product | Versions | Platforms |
---|---|---|
.NET | 2.1, 3.1, 6 | Windows, Linux, MacOS |
.NET Framework | 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 | Windows |
.NET Standard | 2.0 | Windows, Linux, MacOS |