Share via


ILexicalHandler.Comment(Char[], Int32, Int32) Method

Definition

Report an XML comment anywhere in the document.

[Android.Runtime.Register("comment", "([CII)V", "GetComment_arrayCIIHandler:Org.Xml.Sax.Ext.ILexicalHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void Comment (char[]? ch, int start, int length);
[<Android.Runtime.Register("comment", "([CII)V", "GetComment_arrayCIIHandler:Org.Xml.Sax.Ext.ILexicalHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Comment : char[] * int * int -> unit

Parameters

ch
Char[]

An array holding the characters in the comment.

start
Int32

The starting position in the array.

length
Int32

The number of characters to use from the array.

Attributes

Exceptions

The application may raise an exception.

Remarks

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).

Java documentation for org.xml.sax.ext.LexicalHandler.comment(char[], int, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to