SqlCeUpdatableRecord.GetString Method

Returns the value of the specified field as string.

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

Syntax

'Declaration
Public Function GetString ( _
    ordinal As Integer _
) As String
'Usage
Dim instance As SqlCeUpdatableRecord
Dim ordinal As Integer
Dim returnValue As String

returnValue = instance.GetString(ordinal)
public string GetString(
    int ordinal
)
public:
virtual String^ GetString(
    int ordinal
) sealed
abstract GetString : 
        ordinal:int -> string 
override GetString : 
        ordinal:int -> string 
public final function GetString(
    ordinal : int
) : String

Parameters

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

Return Value

Type: System.String

Implements

IDataRecord.GetString(Int32)

See Also

Reference

SqlCeUpdatableRecord Class

System.Data.SqlServerCe Namespace