Method Characters
Characters(Char[], Int32, Int32)
Write character data. Pass the event on down the filter chain for further processing.
Declaration
public override void Characters(char[] ch, int start, int length)
Parameters
Type | Name | Description |
---|---|---|
System.Char[] | ch | The array of characters to write. |
System.Int32 | start | The starting position in the array. |
System.Int32 | length | The number of characters to write. |
Overrides
Exceptions
Type | Condition |
---|---|
SAXException | If there is an error writing the characters, or if a handler further down the filter chain raises an exception. |
See Also
Characters(String)
Write a string of character data, with XML escaping.
This is a convenience method that takes an XML string, converts it to a character array, then invokes Characters(Char[], Int32, Int32).
Declaration
public virtual void Characters(string data)
Parameters
Type | Name | Description |
---|---|---|
System.String | data | The character data. |
Exceptions
Type | Condition |
---|---|
SAXException | If there is an error writing the string, or if a handler further down the filter chain raises an exception. |