XMLFilterImpl.SetProperty(String, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.