Share via


SqlCeUpdatableRecord.SetDecimal Method

Sets the column at the specified index to the passed-in decimal value.

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

Syntax

'Declaration
Public Sub SetDecimal ( _
    ordinal As Integer, _
    value As Decimal _
)
'Usage
Dim instance As SqlCeUpdatableRecord
Dim ordinal As Integer
Dim value As Decimal

instance.SetDecimal(ordinal, value)
public void SetDecimal(
    int ordinal,
    decimal value
)
public:
void SetDecimal(
    int ordinal, 
    Decimal value
)
member SetDecimal : 
        ordinal:int * 
        value:decimal -> unit 
public function SetDecimal(
    ordinal : int, 
    value : decimal
)

Parameters

  • ordinal
    Type: System.Int32
    The field in which to set the value.

See Also

Reference

SqlCeUpdatableRecord Class

System.Data.SqlServerCe Namespace