HandlerBase.StartElement(String, IAttributeList) 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
Receive notification of the start of an element.
[Android.Runtime.Register("startElement", "(Ljava/lang/String;Lorg/xml/sax/AttributeList;)V", "GetStartElement_Ljava_lang_String_Lorg_xml_sax_AttributeList_Handler")]
[System.Obsolete("deprecated")]
public virtual void StartElement (string? name, Org.Xml.Sax.IAttributeList? attributes);
[<Android.Runtime.Register("startElement", "(Ljava/lang/String;Lorg/xml/sax/AttributeList;)V", "GetStartElement_Ljava_lang_String_Lorg_xml_sax_AttributeList_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member StartElement : string * Org.Xml.Sax.IAttributeList -> unit
override this.StartElement : string * Org.Xml.Sax.IAttributeList -> unit
Parameters
- name
- String
The element type name.
- attributes
- IAttributeList
The specified or defaulted attributes.
Implements
- Attributes
Exceptions
Any SAX exception, possibly wrapping another exception.
Remarks
Receive notification of the start of an element.
By default, do nothing. Application writers may override this method in a subclass to take specific actions at the start of each element (such as allocating a new tree node or writing output to a file).
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.IDocumentHandler.StartElement(System.String%2c+Org.Xml.Sax.IAttributeList)>