Share via


DocumentBuilder.SetErrorHandler(IErrorHandler) Method

Definition

Specify the ErrorHandler to be used by the parser.

[Android.Runtime.Register("setErrorHandler", "(Lorg/xml/sax/ErrorHandler;)V", "GetSetErrorHandler_Lorg_xml_sax_ErrorHandler_Handler")]
public abstract void SetErrorHandler (Org.Xml.Sax.IErrorHandler? eh);
[<Android.Runtime.Register("setErrorHandler", "(Lorg/xml/sax/ErrorHandler;)V", "GetSetErrorHandler_Lorg_xml_sax_ErrorHandler_Handler")>]
abstract member SetErrorHandler : Org.Xml.Sax.IErrorHandler -> unit

Parameters

eh
IErrorHandler

The ErrorHandler to be used by the parser.

Attributes

Remarks

Specify the ErrorHandler to be used by the parser. Setting this to null will result in the underlying implementation using it's own default implementation and behavior.

Java documentation for javax.xml.parsers.DocumentBuilder.setErrorHandler(org.xml.sax.ErrorHandler).

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