SqlDataRecord.GetDateTimeOffset(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Parameters
- ordinal
- Int32
The zero-based column ordinal.
Returns
The value of the specified column as a DateTimeOffset.