Provider.Put(Object, Object) 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.
Sets the key
property to have the specified
value
.
[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? key, Java.Lang.Object? value);
[<Android.Runtime.Register("put", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;", "GetPut_Ljava_lang_Object_Ljava_lang_Object_Handler")>]
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
- key
- Object
the name of the property.
- value
- Object
the value of the property.
Returns
- Attributes
Remarks
Sets the key
property to have the specified value
.
If a security manager is enabled, its checkSecurityAccess
method is called with the string "putProviderProperty."+name
, where name
is the provider name, to see if it's ok to set this provider's property values.
Added in 1.2.
Java documentation for java.security.Provider.put(java.lang.Object, java.lang.Object)
.
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.