SqlDataRecord.SetDateTimeOffset(Int32, DateTimeOffset) SqlDataRecord.SetDateTimeOffset(Int32, DateTimeOffset) SqlDataRecord.SetDateTimeOffset(Int32, DateTimeOffset) SqlDataRecord.SetDateTimeOffset(Int32, DateTimeOffset) Method

定义

设置为 DateTimeOffset 值指定的列的值。Sets the value of the column specified to the DateTimeOffset value.

public:
 virtual void SetDateTimeOffset(int ordinal, DateTimeOffset value);
public virtual void SetDateTimeOffset (int ordinal, DateTimeOffset value);
abstract member SetDateTimeOffset : int * DateTimeOffset -> unit
override this.SetDateTimeOffset : int * DateTimeOffset -> unit
Public Overridable Sub SetDateTimeOffset (ordinal As Integer, value As DateTimeOffset)

参数

ordinal
Int32 Int32 Int32 Int32

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

value
DateTimeOffset DateTimeOffset DateTimeOffset DateTimeOffset

列的新值。The new value of the column.

适用于