MockCursor.UpdateString(Int32, String) 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.
The Android mock cursor does not define this method. Override it to update a column with a string in a test.
[Android.Runtime.Register("updateString", "(ILjava/lang/String;)Z", "GetUpdateString_ILjava_lang_String_Handler")]
public virtual bool UpdateString(int columnIndex, string? value);
[<Android.Runtime.Register("updateString", "(ILjava/lang/String;)Z", "GetUpdateString_ILjava_lang_String_Handler")>]
abstract member UpdateString : int * string -> bool
override this.UpdateString : int * string -> bool
Parameters
- columnIndex
- Int32
The zero-based index of the column.
- value
- String
The new value for the column.
Returns
The result supplied by an override.
- 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.