Interface IRecord
Definition
- Assembly:
- Tizen.Data.Tdbc.dll
Record class. This class provides the result of query.
public interface IRecord : IEnumerator<IRecord>, IEnumerator, IDisposable
Methods
View SourceGetBool(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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |