AttributeListImpl.AddAttribute(String, String, 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.
Caution
deprecated
Add an attribute to an attribute list.
[Android.Runtime.Register("addAttribute", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "GetAddAttribute_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Handler")]
[System.Obsolete("deprecated")]
public virtual void AddAttribute (string? name, string? type, string? value);
[<Android.Runtime.Register("addAttribute", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "GetAddAttribute_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member AddAttribute : string * string * string -> unit
override this.AddAttribute : string * string * string -> unit
Parameters
- name
- String
The attribute name.
- type
- String
The attribute type ("NMTOKEN" for an enumeration).
- value
- String
The attribute value (must not be null).
- Attributes
Remarks
Add an attribute to an attribute list.
This method is provided for SAX parser writers, to allow them to build up an attribute list incrementally before delivering it to the application.
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
- RemoveAttribute(String)
- <xref:Org.Xml.Sax.IDocumentHandler.StartElement(System.String%2c+Org.Xml.Sax.IAttributeList)>