Interface IRecord

    Definition

    Namespace:
    Tizen.Data.Tdbc
    Assembly:
    Tizen.Data.Tdbc.dll

    Record class. This class provides the result of query.

    public interface IRecord : IEnumerator<IRecord>, IEnumerator, IDisposable

    Methods

    View Source

    GetBool(int)

    Get bool type value from the record with given index.

    Declaration
    bool GetBool(int columnIndex)
    Parameters
    Type Name Description
    int columnIndex

    The index of value.

    Returns
    Type Description
    bool
    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    The given index is out of range.

    System.NotSupportedException

    This type is not supported.

    View Source

    GetChar(int)

    Get char type value from the record with given index.

    Declaration
    char GetChar(int columnIndex)
    Parameters
    Type Name Description
    int columnIndex

    The index of value.

    Returns
    Type Description
    char
    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    The given index is out of range.

    System.NotSupportedException

    This type is not supported.

    View Source

    GetChars(int)

    Get chars type value from the record with given index.

    Declaration
    char[] GetChars(int columnIndex)
    Parameters
    Type Name Description
    int columnIndex

    The index of value.

    Returns
    Type Description
    char[]
    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    The given index is out of range.

    System.NotSupportedException

    This type is not supported.

    View Source

    GetData(int)

    Get blob type value from the record with given index.

    Declaration
    byte[] GetData(int columnIndex)
    Parameters
    Type Name Description
    int columnIndex

    The index of value.

    Returns
    Type Description
    byte[]
    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    The given index is out of range.

    System.NotSupportedException

    This type is not supported.

    View Source

    GetDate(int)

    Get date type value from the record with given index.

    Declaration
    DateTime GetDate(int columnIndex)
    Parameters
    Type Name Description
    int columnIndex

    The index of value.

    Returns
    Type Description
    System.DateTime
    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    The given index is out of range.

    System.NotSupportedException

    This type is not supported.

    View Source

    GetDateTime(int)

    Get datetime type value from the record with given index.

    Declaration
    DateTime GetDateTime(int columnIndex)
    Parameters
    Type Name Description
    int columnIndex

    The index of value.

    Returns
    Type Description
    System.DateTime
    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    The given index is out of range.

    System.NotSupportedException

    This type is not supported.

    View Source

    GetDecimal(int)

    Get decimal type value from the record with given index.

    Declaration
    decimal GetDecimal(int columnIndex)
    Parameters
    Type Name Description
    int columnIndex

    The index of value.

    Returns
    Type Description
    decimal
    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    The given index is out of range.

    System.NotSupportedException

    This type is not supported.

    View Source

    GetDouble(int)

    Get double type value from the record with given index.

    Declaration
    double GetDouble(int columnIndex)
    Parameters
    Type Name Description
    int columnIndex

    The index of value.

    Returns
    Type Description
    double
    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    The given index is out of range.

    System.NotSupportedException

    This type is not supported.

    View Source

    GetFloat(int)

    Get float type value from the record with given index.

    Declaration
    float GetFloat(int columnIndex)
    Parameters
    Type Name Description
    int columnIndex

    The index of value.

    Returns
    Type Description
    float
    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    The given index is out of range.

    System.NotSupportedException

    This type is not supported.

    View Source

    GetInt(int)

    Get integer type value from the record with given index.

    Declaration
    int GetInt(int columnIndex)
    Parameters
    Type Name Description
    int columnIndex

    The index of value.

    Returns
    Type Description
    int
    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    The given index is out of range.

    System.NotSupportedException

    This type is not supported.

    View Source

    GetInt16(int)

    Get 16-bit signed integer type value from the record with given index.

    Declaration
    short GetInt16(int columnIndex)
    Parameters
    Type Name Description
    int columnIndex

    The index of value.

    Returns
    Type Description
    short
    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    The given index is out of range.

    System.NotSupportedException

    This type is not supported.

    View Source

    GetInt64(int)

    Get 64-bit signed integer type value from the record with given index.

    Declaration
    long GetInt64(int columnIndex)
    Parameters
    Type Name Description
    int columnIndex

    The index of value.

    Returns
    Type Description
    long
    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    The given index is out of range.

    System.NotSupportedException

    This type is not supported.

    View Source

    GetName(int)

    Get the name from the record with given index.

    Declaration
    string GetName(int columnIndex)
    Parameters
    Type Name Description
    int columnIndex

    The index of value.

    Returns
    Type Description
    string
    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    The given index is out of range.

    System.NotSupportedException

    This type is not supported.

    View Source

    GetString(int)

    Get string type value from the record with given index.

    Declaration
    string GetString(int columnIndex)
    Parameters
    Type Name Description
    int columnIndex

    The index of value.

    Returns
    Type Description
    string
    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    The given index is out of range.

    System.NotSupportedException

    This type is not supported.

    View Source

    GetTime(int)

    Get time type value from the record with given index.

    Declaration
    TimeSpan GetTime(int columnIndex)
    Parameters
    Type Name Description
    int columnIndex

    The index of value.

    Returns
    Type Description
    System.TimeSpan
    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    The given index is out of range.

    System.NotSupportedException

    This type is not supported.

    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX