Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
以 TimeSpan 对象形式返回指定列的值。
Public Function GetTimeSpan(ByVal ordinal As Integer) As TimeSpan
public TimeSpan GetTimeSpan(int ordinal)
ordinal 表示获取值的来源列的顺序号。编号从零开始。
指定列的值。
列的数据类型必须是 SQL Anywhere TIME。数据将转换为 TimeSpan。TimeSpan 的 Days 属性始终设置为 0。
在调用此方法之前,调用 SADataReader.IsDBNull 方法以检查 NULL 值。
有关详细信息,请参见时间值。