Method EndElement
EndElement(String, String, String)
Receive notification of the end of an element.
Declaration
void EndElement(string uri, string localName, string qName)
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 | localName | the local name (without prefix), or the empty string if Namespace processing is not being performed |
System.String | qName | the qualified XML name (with prefix), or the empty string if qualified names are not available |
Remarks
The SAX parser will invoke this method at the end of every element in the XML document; there will be a corresponding StartElement(String, String, String, IAttributes) event for every endElement event (even when the element is empty).
For information on the names, see StartElement(String, String, String, IAttributes).
Exceptions
Type | Condition |
---|---|
SAXException | any SAX exception, possibly wrapping another exception |