SqlDataRecord.GetTimeSpan(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.
Returns the specified column's data as a TimeSpan.
public:
virtual TimeSpan GetTimeSpan(int ordinal);
public virtual TimeSpan GetTimeSpan (int ordinal);
abstract member GetTimeSpan : int -> TimeSpan
override this.GetTimeSpan : int -> TimeSpan
Public Overridable Function GetTimeSpan (ordinal As Integer) As TimeSpan
Parameters
- ordinal
- Int32
The zero-based column ordinal.
Returns
The value of the specified column as a TimeSpan.