Method StartElement
StartElement(String, String, String, IDictionary<String, String>)
Receive notification of the beginning of an element.
The Parser will invoke this method at the beginning of every element in the XML document; there will be a corresponding EndElement(String, String, String) event for every StartElement(String, String, String, IDictionary<String, String>) event (even when the element is empty). All of the element's content will be reported, in order, before the corresponding endElement event.
Declaration
public virtual void StartElement(string uri, string local, string raw, IDictionary<string, string> attrs)
Parameters
Type | Name | Description |
---|---|---|
System.String | uri | the Namespace URI, or the empty string if the element has no Namespace URI or if Namespace processing is not being performed |
System.String | local | the local name (without prefix), or the empty string if Namespace processing is not being performed |
System.String | raw | |
System.Collections.Generic.IDictionary<System.String, System.String> | attrs | the attributes attached to the element. If there are no attributes, it shall be an empty Attributes object. The value of this object after startElement returns is undefined |