แก้ไข

แชร์ผ่าน


IDataRecord.GetDateTime(Int32) Method

Definition

Gets the date and time data value of the specified field.

public:
 DateTime GetDateTime(int i);
public DateTime GetDateTime (int i);
abstract member GetDateTime : int -> DateTime
Public Function GetDateTime (i As Integer) As DateTime

Parameters

i
Int32

The index of the field to find.

Returns

The date and time data value of the specified field.

Exceptions

The index passed was outside the range of 0 through FieldCount.

Applies to