XmlPullParserFactory.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 features to be set when XML Pull Parser is created by this factory.
[Android.Runtime.Register("setFeature", "(Ljava/lang/String;Z)V", "GetSetFeature_Ljava_lang_String_ZHandler")]
public virtual void SetFeature (string? name, bool state);
[<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
string with URI identifying feature
- state
- Boolean
if true feature will be set; if false will be ignored
- Attributes
Exceptions
Remarks
Set the features to be set when XML Pull Parser is created by this factory.
<b>NOTE:</b> factory features are not used for XML Serializer.
Java documentation for org.xmlpull.v1.XmlPullParserFactory.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.