XMLFilterImpl.SetFeature(String, Boolean) 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 feature.
[Android.Runtime.Register("setFeature", "(Ljava/lang/String;Z)V", "GetSetFeature_Ljava_lang_String_ZHandler")]
public virtual void SetFeature (string? name, bool value);
[<Android.Runtime.Register("setFeature", "(Ljava/lang/String;Z)V", "GetSetFeature_Ljava_lang_String_ZHandler")>]
abstract member SetFeature : string * bool -> unit
override this.SetFeature : string * bool -> unit
Parameters
- name
- String
The feature name.
- value
- Boolean
The requested feature value.
Implements
- Attributes
Exceptions
If the feature value can't be assigned or retrieved from the parent.
When the parent recognizes the feature name but cannot set the requested value.
Remarks
Set the value of a feature.
This will always fail if the parent is null.
Java documentation for org.xml.sax.helpers.XMLFilterImpl.setFeature(java.lang.String, boolean)
.
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.