VistaDB 6
VistaDB.Provider Namespace / VistaDBDataReader Class / GetDataTypeName Method
The zero-based column ordinal.The zero-based column ordinal.


In This Topic
    GetDataTypeName Method (VistaDBDataReader)
    In This Topic
    Gets name of the data type of the specified column. Gets name of the data type of the specified column.
    Syntax
    'Declaration
     
    
    Public Overrides NotOverridable Function GetDataTypeName( _
       ByVal ordinal As System.Integer _
    ) As System.String
    'Usage
     
    
    Dim instance As VistaDBDataReader
    Dim ordinal As System.Integer
    Dim value As System.String
     
    value = instance.GetDataTypeName(ordinal)
    public override System.string GetDataTypeName( 
       System.int ordinal
    )

    Parameters

    ordinal
    The zero-based column ordinal.The zero-based column ordinal.

    Return Value

    A string representing the name of the data type.A string representing the name of the data type.
    Exceptions
    ExceptionDescription
    The specified cast is not valid.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also