Sdílet prostřednictvím


SAXParser.SetProperty(String, Object) Method

Definition

Sets the particular property in the underlying implementation of org.xml.sax.XMLReader.

[Android.Runtime.Register("setProperty", "(Ljava/lang/String;Ljava/lang/Object;)V", "GetSetProperty_Ljava_lang_String_Ljava_lang_Object_Handler")]
public abstract void SetProperty (string? name, Java.Lang.Object? value);
[<Android.Runtime.Register("setProperty", "(Ljava/lang/String;Ljava/lang/Object;)V", "GetSetProperty_Ljava_lang_String_Ljava_lang_Object_Handler")>]
abstract member SetProperty : string * Java.Lang.Object -> unit

Parameters

name
String

The name of the property to be set.

value
Object

The value of the property to be set.

Attributes

Exceptions

When the underlying XMLReader does not recognize the property name.

When the underlying XMLReader recognizes the property name but doesn't support the property.

Remarks

Sets the particular property in the underlying implementation of org.xml.sax.XMLReader. A list of the core features and properties can be found at

http://sax.sourceforge.net/?selected=get-set.

Java documentation for javax.xml.parsers.SAXParser.setProperty(java.lang.String, java.lang.Object).

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

  • <xref:Org.Xml.Sax.IXMLReader.SetProperty(System.String%2c+Java.Lang.Object)>