SqlCeUpdatableRecord.SetValues Method

Sets each of the fields in the record to the corresponding value in the passed-in array.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

Syntax

'Declaration
Public Function SetValues ( _
    values As Object() _
) As Integer
'Usage
Dim instance As SqlCeUpdatableRecord
Dim values As Object()
Dim returnValue As Integer

returnValue = instance.SetValues(values)
public int SetValues(
    Object[] values
)
public:
int SetValues(
    array<Object^>^ values
)
member SetValues : 
        values:Object[] -> int 
public function SetValues(
    values : Object[]
) : int

Parameters

  • values
    Type: array<System.Object[]
    The values to set, in the order in which the fields appear in the record.

Return Value

Type: System.Int32

See Also

Reference

SqlCeUpdatableRecord Class

System.Data.SqlServerCe Namespace