Share via


XMLFilterImpl.SetProperty(String, Object) Method

Definition

Set the value of a property.

[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);
[<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
override this.SetProperty : string * Java.Lang.Object -> unit

Parameters

name
String

The property name.

value
Object

The requested property value.

Implements

Attributes

Exceptions

If the property value can't be assigned or retrieved from the parent.

When the parent recognizes the property name but cannot set the requested value.

Remarks

Set the value of a property.

This will always fail if the parent is null.

Java documentation for org.xml.sax.helpers.XMLFilterImpl.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