Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
以 DateTimeOffset 对象形式返回指定列的值。
Public Function GetDateTimeOffset( ByVal ordinal As Integer ) As DateTimeOffset
public DateTimeOffset GetDateTimeOffset(int ordinal)
ordinal 从零开始的列顺序号。
指定列的值。
不会进行任何转换,因此检索的数据必须已经是 DateTimeOffset 对象。
在调用此方法之前,调用 SADataReader.IsDBNull 方法以检查 NULL 值。