Udostępnij za pośrednictwem


ContentProviderOperation.Builder.WithValue(String, Object) Method

Definition

A value to insert or update.

[Android.Runtime.Register("withValue", "(Ljava/lang/String;Ljava/lang/Object;)Landroid/content/ContentProviderOperation$Builder;", "GetWithValue_Ljava_lang_String_Ljava_lang_Object_Handler")]
public virtual Android.Content.ContentProviderOperation.Builder WithValue (string key, Java.Lang.Object? value);
[<Android.Runtime.Register("withValue", "(Ljava/lang/String;Ljava/lang/Object;)Landroid/content/ContentProviderOperation$Builder;", "GetWithValue_Ljava_lang_String_Ljava_lang_Object_Handler")>]
abstract member WithValue : string * Java.Lang.Object -> Android.Content.ContentProviderOperation.Builder
override this.WithValue : string * Java.Lang.Object -> Android.Content.ContentProviderOperation.Builder

Parameters

key
String

the name of this value

value
Object

the value itself. the type must be acceptable for insertion by Put(String, Byte[])

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