Method EndElement
EndElement(String, String, String)
Write an end tag. Pass the event on down the filter chain for further processing.
Declaration
public override void EndElement(string uri, string localName, string qName)
Parameters
Type | Name | Description |
---|---|---|
System.String | uri | The Namespace URI, or the empty string if none is available. |
System.String | localName | The element's local (unprefixed) name (required). |
System.String | qName | The element's qualified (prefixed) name, or the empty string is none is available. This method will use the qName as a template for generating a prefix if necessary, but it is not guaranteed to use the same qName. |
Overrides
Exceptions
Type | Condition |
---|---|
SAXException | If there is an error writing the end tag, or if a handler further down the filter chain raises an exception. |
See Also
EndElement(String, String)
End an element without a qname.
This method will supply an empty string for the qName. It invokes EndElement(String, String, String) directly.
Declaration
public virtual void EndElement(string uri, string localName)
Parameters
Type | Name | Description |
---|---|---|
System.String | uri | The element's Namespace URI. |
System.String | localName | The element's local name. |
Exceptions
Type | Condition |
---|---|
SAXException | If there is an error writing the end tag, or if a handler further down the filter chain raises an exception. |
See Also
EndElement(String)
End an element without a Namespace URI or qname.
This method will supply an empty string for the qName and an empty string for the Namespace URI. It invokes EndElement(String, String, String) directly.
Declaration
public virtual void EndElement(string localName)
Parameters
Type | Name | Description |
---|---|---|
System.String | localName | The element's local name. |
Exceptions
Type | Condition |
---|---|
SAXException | If there is an error writing the end tag, or if a handler further down the filter chain raises an exception. |