GetSqlMoney Method

Returns the value of the column at the specified index as type SqlMoney.

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


Public Overrides Function GetSqlMoney ( _
    ordinal As Integer _
) As SqlMoney
Dim instance As SqlCeResultSet
Dim ordinal As Integer
Dim returnValue As SqlMoney

returnValue = instance.GetSqlMoney(ordinal)
public override SqlMoney GetSqlMoney(
    int ordinal
virtual SqlMoney GetSqlMoney(
    int ordinal
) override
abstract GetSqlMoney : 
        ordinal:int -> SqlMoney 
override GetSqlMoney : 
        ordinal:int -> SqlMoney 
public override function GetSqlMoney(
    ordinal : int
) : SqlMoney


Return Value

Type: System.Data.SqlTypes. . :: . .SqlMoney
The value of the column at the specified index.


An exception is thrown if no field exists at the specified ordinal position.

See Also


SqlCeResultSet Class

SqlCeResultSet Members

System.Data.SqlServerCe Namespace