Compartir a través de


AttributesImpl.AddAttribute(String, String, String, String, String) Method

Definition

Add an attribute to the end of the list.

[Android.Runtime.Register("addAttribute", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "GetAddAttribute_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Handler")]
public virtual void AddAttribute (string? uri, string? localName, string? qName, string? type, string? value);
[<Android.Runtime.Register("addAttribute", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "GetAddAttribute_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Handler")>]
abstract member AddAttribute : string * string * string * string * string -> unit
override this.AddAttribute : string * string * string * string * string -> unit

Parameters

uri
String

The Namespace URI, or the empty string if none is available or Namespace processing is not being performed.

localName
String

The local name, or the empty string if Namespace processing is not being performed.

qName
String

The qualified (prefixed) name, or the empty string if qualified names are not available.

type
String

The attribute type as a string.

value
String

The attribute value.

Attributes

Remarks

Add an attribute to the end of the list.

For the sake of speed, this method does no checking to see if the attribute is already in the list: that is the responsibility of the application.

Java documentation for org.xml.sax.helpers.AttributesImpl.addAttribute(java.lang.String, java.lang.String, java.lang.String, java.lang.String, 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