IDataRecord.GetDateTime(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.
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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.