Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- index
Type: System.Int32
The zero-based column ordinal.
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. |