Class MatrixCursor

Definition

Namespace:
Tizen.Applications.DataControl
Assembly:
Tizen.Applications.DataControl.dll
API Level:
3

Represents the MatrixCursor class for the DataControl provider's matrix cursor.

C#
Copy
public class MatrixCursor : IDisposable, ICursor
Inheritance
MatrixCursor
Implements

Constructors

View Source

MatrixCursor(String[], ColumnType[])

Initializes the MatrixCursor class with columnNames and columnTypes.

Declaration
C#
Copy
public MatrixCursor(string[] columnNames, ColumnType[] columnTypes)
Parameters
Type Name Description
String[] columnNames

The MatrixCursor's column name list.

ColumnType[] columnTypes

The MatrixCursor's column type list.

API Level: 3

Methods

View Source

AddRow(Object[])

Adds a new row to the end with the given column values.

Declaration
C#
Copy
public void AddRow(object[] columnValues)
Parameters
Type Name Description
Object[] columnValues

New column values

API Level: 3
View Source

Dispose()

Releases all the resources used by the MatrixCursor class.

Declaration
C#
Copy
public void Dispose()
API Level: 3
View Source

Dispose(Boolean)

Releases the unmanaged resources used by the MatrixCursor class specifying whether to perform a normal dispose operation.

Declaration
C#
Copy
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
Boolean disposing

true for a normal dispose operation; false to finalize the handle.

API Level: 3
View Source

Finalize()

Destructor of the MatrixCursor class.

Declaration
C#
Copy
protected void Finalize()
View Source

GetBlobValue(Int32)

Returns the value of the requested column as a BLOB.

Declaration
C#
Copy
public byte[] GetBlobValue(int index)
Parameters
Type Name Description
Int32 index
Returns
Type Description
Byte[]
API Level: 3
View Source

GetColumnCount()

Gets the column count of the MatrixCursor.

Declaration
C#
Copy
public int GetColumnCount()
Returns
Type Description
Int32
API Level: 3
View Source

GetColumnName(Int32)

Returns the column name at the given zero-based column index.

Declaration
C#
Copy
public string GetColumnName(int index)
Parameters
Type Name Description
Int32 index

The target column index.

Returns
Type Description
String
API Level: 3
View Source

GetColumnType(Int32)

Returns the column type at the given zero-based column index.

Declaration
C#
Copy
public ColumnType GetColumnType(int index)
Parameters
Type Name Description
Int32 index

Target column index

Returns
Type Description
ColumnType
API Level: 3
View Source

GetDoubleValue(Int32)

Returns the value of the requested column as a double.

Declaration
C#
Copy
public double GetDoubleValue(int index)
Parameters
Type Name Description
Int32 index
Returns
Type Description
Double
API Level: 3
View Source

GetInt64Value(Int32)

Returns the value of the requested column as int64.

Declaration
C#
Copy
public Int64 GetInt64Value(int index)
Parameters
Type Name Description
Int32 index
Returns
Type Description
Int64
API Level: 3
View Source

GetIntValue(Int32)

Returns the value of the requested column as an integer.

Declaration
C#
Copy
public int GetIntValue(int index)
Parameters
Type Name Description
Int32 index
Returns
Type Description
Int32
API Level: 3
View Source

GetRowCount()

Gets the MatrixCursor's row count.

Declaration
C#
Copy
public long GetRowCount()
Returns
Type Description
Int64
API Level: 3
View Source

GetStringValue(Int32)

Returns the value of the requested column as a string.

Declaration
C#
Copy
public string GetStringValue(int index)
Parameters
Type Name Description
Int32 index
Returns
Type Description
String
API Level: 3
View Source

Next()

Move the MatrixCursor to the next row.

Declaration
C#
Copy
public bool Next()
Returns
Type Description
Boolean
API Level: 3
View Source

Prev()

Move the MatrixCursor to the previous row.

Declaration
C#
Copy
public bool Prev()
Returns
Type Description
Boolean
API Level: 3
View Source

Reset()

Move the MatrixCursor to the first row.

Declaration
C#
Copy
public bool Reset()
Returns
Type Description
Boolean
API Level: 3

Implements

Extension Methods