Поделиться через


Метод SqlCeUpdatableRecord.GetDateTime

Возвращает значение указанного поля как значение типа DateTime.

Пространство имен:  System.Data.SqlServerCe
Сборка:  System.Data.SqlServerCe (в System.Data.SqlServerCe.dll)

Синтаксис

'Декларация
Public Function GetDateTime ( _
    ordinal As Integer _
) As DateTime
'Применение
Dim instance As SqlCeUpdatableRecord
Dim ordinal As Integer
Dim returnValue As DateTime

returnValue = instance.GetDateTime(ordinal)
public DateTime GetDateTime(
    int ordinal
)
public:
virtual DateTime GetDateTime(
    int ordinal
) sealed
abstract GetDateTime : 
        ordinal:int -> DateTime 
override GetDateTime : 
        ordinal:int -> DateTime 
public final function GetDateTime(
    ordinal : int
) : DateTime

Параметры

  • ordinal
    Тип: System.Int32
    Поле, из которого должно быть получено значение.

Возвращаемое значение

Тип: System.DateTime

Реализует

IDataRecord.GetDateTime(Int32)

См. также

Справочник

SqlCeUpdatableRecord Класс

Пространство имен System.Data.SqlServerCe