Attributes.Put(Object, Object) Method

Definition

Stores key/value pairs in this Attributes.

[Android.Runtime.Register("put", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;", "GetPut_Ljava_lang_Object_Ljava_lang_Object_Handler")]
public virtual Java.Lang.Object Put (Java.Lang.Object name, Java.Lang.Object value);
abstract member Put : Java.Lang.Object * Java.Lang.Object -> Java.Lang.Object
override this.Put : Java.Lang.Object * Java.Lang.Object -> Java.Lang.Object

Parameters

name
Object
value
Object

the value to store in this Attributes.

Returns

Object

Implements

Attributes

Exceptions

when key is not an Attributes.Name or value is not a String.

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