Org.Xmlpull.V1.Sax2.Driver.SetProperty Method
Set the value of a property.

Syntax

[Android.Runtime.Register("setProperty", "(Ljava/lang/String;Ljava/lang/Object;)V", "GetSetProperty_Ljava_lang_String_Ljava_lang_Object_Handler")]
public virtual void SetProperty (string name, Java.Lang.Object value)

Parameters

name
The property name, which is a fully-qualified URI.
value
The requested value for the property.

Exceptions

TypeReason
Org.Xml.Sax.SAXNotRecognizedException
Org.Xml.Sax.SAXNotSupportedException

Remarks

Set the value of a property.

The property name is any fully-qualified URI. It is possible for an XMLReader to recognize a property name but to be unable to change the current value. Some property values may be immutable or mutable only in specific contexts, such as before, during, or after a parse.

XMLReaders are not required to recognize setting any specific property names, though a core set is defined by SAX2.

This method is also the standard mechanism for setting extended handlers.

[Android Documentation]

Requirements

Namespace: Org.Xmlpull.V1.Sax2
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1