MatrixCursor.RowBuilder.Add Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| Add(Object) |
Sets the next column value in this row. |
| Add(String, Object) |
Offers a value for possible inclusion if this cursor defines the given column. |
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
The value for the next column.
Returns
This builder to support chaining.
- 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)
Offers a value for possible inclusion if this cursor defines the given column.
[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
The non-null name of the column to set, if it is defined by the cursor.
- value
- Object
The value to offer for the named column.
Returns
This builder to support chaining.
- 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.