Javax.Xml.Validation.SchemaFactory.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 object)

Parameters

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

Exceptions

TypeReason
Org.Xml.Sax.SAXNotRecognizedExceptionIf the property value can't be assigned or retrieved.
Org.Xml.Sax.SAXNotSupportedExceptionWhen the Javax.Xml.Validation.SchemaFactory recognizes the property name but cannot set the requested value.
Java.Lang.NullPointerExceptionif the name parameter is null.

Remarks

Set the value of a property.

The property name is any fully-qualified URI. It is possible for a Javax.Xml.Validation.SchemaFactory to recognize a property name but to be unable to change the current value.

Javax.Xml.Validation.SchemaFactorys are not required to recognize setting any specific property names.

[Android Documentation]

Requirements

Namespace: Javax.Xml.Validation
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8