Partager via


MatrixCursor.RowBuilder.Add Method

Definition

Overloads

Add(Object)

Sets the next column value in this row.

Add(String, Object)

Add(Object)

Sets the next column value in this row.

[Android.Runtime.Register("add", "(Ljava/lang/Object;)Landroid/database/MatrixCursor$RowBuilder;", "GetAdd_Ljava_lang_Object_Handler")]
public virtual Android.Database.MatrixCursor.RowBuilder? Add (Java.Lang.Object? columnValue);
[<Android.Runtime.Register("add", "(Ljava/lang/Object;)Landroid/database/MatrixCursor$RowBuilder;", "GetAdd_Ljava_lang_Object_Handler")>]
abstract member Add : Java.Lang.Object -> Android.Database.MatrixCursor.RowBuilder
override this.Add : Java.Lang.Object -> Android.Database.MatrixCursor.RowBuilder

Parameters

columnValue
Object

Returns

Attributes

Exceptions

if you try to add too many values

Remarks

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

Add(String, Object)

[Android.Runtime.Register("add", "(Ljava/lang/String;Ljava/lang/Object;)Landroid/database/MatrixCursor$RowBuilder;", "GetAdd_Ljava_lang_String_Ljava_lang_Object_Handler")]
public virtual Android.Database.MatrixCursor.RowBuilder? Add (string? columnName, Java.Lang.Object? value);
[<Android.Runtime.Register("add", "(Ljava/lang/String;Ljava/lang/Object;)Landroid/database/MatrixCursor$RowBuilder;", "GetAdd_Ljava_lang_String_Ljava_lang_Object_Handler")>]
abstract member Add : string * Java.Lang.Object -> Android.Database.MatrixCursor.RowBuilder
override this.Add : string * Java.Lang.Object -> Android.Database.MatrixCursor.RowBuilder

Parameters

columnName
String
value
Object

Returns

Attributes

Remarks

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