Freigeben über


AttributeListImpl.RemoveAttribute(String) Method

Definition

Caution

deprecated

Remove an attribute from the list.

[Android.Runtime.Register("removeAttribute", "(Ljava/lang/String;)V", "GetRemoveAttribute_Ljava_lang_String_Handler")]
[System.Obsolete("deprecated")]
public virtual void RemoveAttribute (string? name);
[<Android.Runtime.Register("removeAttribute", "(Ljava/lang/String;)V", "GetRemoveAttribute_Ljava_lang_String_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member RemoveAttribute : string -> unit
override this.RemoveAttribute : string -> unit

Parameters

name
String

The attribute name.

Attributes

Remarks

Remove an attribute from the list.

SAX application writers can use this method to filter an attribute out of an AttributeList. Note that invoking this method will change the length of the attribute list and some of the attribute's indices.

If the requested attribute is not in the list, this is a no-op.

Java documentation for org.xml.sax.helpers.AttributeListImpl.removeAttribute(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.

Applies to

See also

  • <xref:Org.Xml.Sax.Helpers.AttributeListImpl.AddAttribute(System.String%2c+System.String%2c+System.String)>