SqlDataRecord.GetDateTimeOffset(Int32) SqlDataRecord.GetDateTimeOffset(Int32) SqlDataRecord.GetDateTimeOffset(Int32) SqlDataRecord.GetDateTimeOffset(Int32) Method

定义

DateTimeOffset 的形式返回指定列的数据。Returns the specified column's data as a DateTimeOffset.

public:
 virtual DateTimeOffset GetDateTimeOffset(int ordinal);
public virtual DateTimeOffset GetDateTimeOffset (int ordinal);
abstract member GetDateTimeOffset : int -> DateTimeOffset
override this.GetDateTimeOffset : int -> DateTimeOffset
Public Overridable Function GetDateTimeOffset (ordinal As Integer) As DateTimeOffset

参数

ordinal
Int32 Int32 Int32 Int32

从零开始的列序号。The zero-based column ordinal.

返回

DateTimeOffset 的形式指定的列的值。The value of the specified column as a DateTimeOffset.

适用于