Freigeben über


MatrixCursor.AddRow Method

Definition

Overloads

AddRow(IIterable)

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

AddRow(Object[])

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

AddRow(IIterable)

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

[Android.Runtime.Register("addRow", "(Ljava/lang/Iterable;)V", "GetAddRow_Ljava_lang_Iterable_Handler")]
public virtual void AddRow (Java.Lang.IIterable? columnValues);
[<Android.Runtime.Register("addRow", "(Ljava/lang/Iterable;)V", "GetAddRow_Ljava_lang_Iterable_Handler")>]
abstract member AddRow : Java.Lang.IIterable -> unit
override this.AddRow : Java.Lang.IIterable -> unit

Parameters

columnValues
IIterable

in the same order as the the column names specified at cursor construction time

Attributes

Remarks

Adds a new row to the end with the given column values. Not safe for concurrent use.

Java documentation for android.database.MatrixCursor.addRow(java.lang.Iterable<?>).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

AddRow(Object[])

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

[Android.Runtime.Register("addRow", "([Ljava/lang/Object;)V", "GetAddRow_arrayLjava_lang_Object_Handler")]
public virtual void AddRow (Java.Lang.Object[]? columnValues);
[<Android.Runtime.Register("addRow", "([Ljava/lang/Object;)V", "GetAddRow_arrayLjava_lang_Object_Handler")>]
abstract member AddRow : Java.Lang.Object[] -> unit
override this.AddRow : Java.Lang.Object[] -> unit

Parameters

columnValues
Object[]

in the same order as the the column names specified at cursor construction time

Attributes

Exceptions

if columnValues.length != columnNames.length

Remarks

Adds a new row to the end with the given column values. Not safe for concurrent use.

Java documentation for android.database.MatrixCursor.addRow(java.lang.Object[]).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to