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


In This Topic
    GetBoolean Method (VistaDBDataReader)
    In This Topic
    Gets the value of the specified column as a Boolean. Gets the value of the specified column as a Boolean.
    Syntax
    'Declaration
     
    
    Public Overrides NotOverridable Function GetBoolean( _
       ByVal ordinal As System.Integer _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As VistaDBDataReader
    Dim ordinal As System.Integer
    Dim value As System.Boolean
     
    value = instance.GetBoolean(ordinal)
    public override System.bool GetBoolean( 
       System.int ordinal
    )

    Parameters

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

    Return Value

    The value of the specified column.The value of the specified column.
    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