Method Comment
Comment(Char[], Int32, Int32)
Report an XML comment anywhere in the document.
This callback will be used for comments inside or outside the document element, including comments in the external DTD subset(if read). Comments in the DTD must be properly nested inside start/endDTD and start/endEntity events(if used).
Declaration
void Comment(char[] ch, int start, int length)
Parameters
Type | Name | Description |
---|---|---|
System.Char[] | ch | An array holding the characters in the comment. |
System.Int32 | start | The starting position in the array. |
System.Int32 | length | The number of characters to use from the array. |
Exceptions
Type | Condition |
---|---|
SAXException | The application may raise an exception. |