Share via


SqlDataRecord.SetDateTimeOffset(Int32, DateTimeOffset) Method

Definition

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)

Parameters

ordinal
Int32

The zero-based ordinal of the column.

value
DateTimeOffset

The new value of the column.

Applies to