Share via


SqlCeUpdatableRecord.GetData Method

Returns a SqlCeDataReader positioned on the current record.

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

Syntax

'Declaration
Public Function GetData ( _
    ordinal As Integer _
) As IDataReader
'Usage
Dim instance As SqlCeUpdatableRecord
Dim ordinal As Integer
Dim returnValue As IDataReader

returnValue = instance.GetData(ordinal)
public IDataReader GetData(
    int ordinal
)
public:
virtual IDataReader^ GetData(
    int ordinal
) sealed
abstract GetData : 
        ordinal:int -> IDataReader 
override GetData : 
        ordinal:int -> IDataReader 
public final function GetData(
    ordinal : int
) : IDataReader

Parameters

  • ordinal
    Type: System.Int32
    The field from which to retrieve a value.

Return Value

Type: System.Data.IDataReader

Implements

IDataRecord.GetData(Int32)

Remarks

This method always throws a NotSupportedException.

See Also

Reference

SqlCeUpdatableRecord Class

System.Data.SqlServerCe Namespace