Share via


GetDataTypeName Method

Gets the name of the source data type.

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

Syntax

'Declaration
Public Overrides Function GetDataTypeName ( _
    index As Integer _
) As String
'Usage
Dim instance As SqlCeDataReader
Dim index As Integer
Dim returnValue As String

returnValue = instance.GetDataTypeName(index)
public override string GetDataTypeName(
    int index
)
public:
virtual String^ GetDataTypeName(
    int index
) override
abstract GetDataTypeName : 
        index:int -> string 
override GetDataTypeName : 
        index:int -> string 
public override function GetDataTypeName(
    index : int
) : String

Parameters

Return Value

Type: System. . :: . .String
The name of the back-end data type.

Implements

IDataRecord. . :: . .GetDataTypeName(Int32)

Exceptions

Exception Condition
InvalidOperationException

The operation is not valid. The SqlCeDataReader may be positioned after the last row in the result set.

See Also

Reference

SqlCeDataReader Class

SqlCeDataReader Members

System.Data.SqlServerCe Namespace