Export (0) Print
Expand All
Expand Minimize

SqlCeResultSet.GetValue Method

Returns the value of the specified field.

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

public override Object GetValue(
	int ordinal
)

Parameters

ordinal
Type: System.Int32
The ordinal position of the column from which to retrieve the value.

Return Value

Type: System.Object
The object that contains the value of the specified field.

Implements

IDataRecord.GetValue(Int32)

The underlying value may be of any type. An exception is thrown if no field exists at the specified ordinal position.

Show:
© 2015 Microsoft