SqlCeUpdatableRecord.SetDateTime Method
Sets the column at the specified index to the passed-in DateTime value.
Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)
Syntax
'Declaration
Public Sub SetDateTime ( _
ordinal As Integer, _
value As DateTime _
)
'Usage
Dim instance As SqlCeUpdatableRecord
Dim ordinal As Integer
Dim value As DateTime
instance.SetDateTime(ordinal, value)
public void SetDateTime(
int ordinal,
DateTime value
)
public:
void SetDateTime(
int ordinal,
DateTime value
)
member SetDateTime :
ordinal:int *
value:DateTime -> unit
public function SetDateTime(
ordinal : int,
value : DateTime
)
Parameters
- ordinal
Type: System.Int32
The field in which to set the value.
- value
Type: System.DateTime
The value to set.