Sdílet prostřednictvím


Attributes.Remove(Object) Method

Definition

Removes the attribute with the specified name (key) from this Map.

[Android.Runtime.Register("remove", "(Ljava/lang/Object;)Ljava/lang/Object;", "GetRemove_Ljava_lang_Object_Handler")]
public virtual Java.Lang.Object? Remove (Java.Lang.Object? name);
[<Android.Runtime.Register("remove", "(Ljava/lang/Object;)Ljava/lang/Object;", "GetRemove_Ljava_lang_Object_Handler")>]
abstract member Remove : Java.Lang.Object -> Java.Lang.Object
override this.Remove : Java.Lang.Object -> Java.Lang.Object

Parameters

name
Object

attribute name

Returns

the previous value of the attribute, or null if none

Attributes

Remarks

Removes the attribute with the specified name (key) from this Map. Returns the previous attribute value, or null if none.

Java documentation for java.util.jar.Attributes.remove(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.

Applies to