Partager via


IContentHandler.StartDocument Method

Definition

Receive notification of the beginning of a document.

[Android.Runtime.Register("startDocument", "()V", "GetStartDocumentHandler:Org.Xml.Sax.IContentHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void StartDocument ();
[<Android.Runtime.Register("startDocument", "()V", "GetStartDocumentHandler:Org.Xml.Sax.IContentHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member StartDocument : unit -> unit
Attributes

Exceptions

any SAX exception, possibly wrapping another exception

Remarks

Receive notification of the beginning of a document.

The SAX parser will invoke this method only once, before any other event callbacks (except for #setDocumentLocator setDocumentLocator).

Java documentation for org.xml.sax.ContentHandler.startDocument().

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

See also