JSONObject.Remove(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.
Removes the named mapping if it exists; does nothing otherwise.
[Android.Runtime.Register("remove", "(Ljava/lang/String;)Ljava/lang/Object;", "GetRemove_Ljava_lang_String_Handler")]
public virtual Java.Lang.Object? Remove (string? name);
[<Android.Runtime.Register("remove", "(Ljava/lang/String;)Ljava/lang/Object;", "GetRemove_Ljava_lang_String_Handler")>]
abstract member Remove : string -> Java.Lang.Object
override this.Remove : string -> Java.Lang.Object
Parameters
- name
- String
Returns
the value previously mapped by name
, or null if there was
no such mapping.
- Attributes
Remarks
Removes the named mapping if it exists; does nothing otherwise.
Java documentation for org.json.JSONObject.remove(java.lang.String)
.
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.