Partager via


XmlPullParserFactory.GetFeature(String) Method

Definition

Return the current value of the feature with given name.

[Android.Runtime.Register("getFeature", "(Ljava/lang/String;)Z", "GetGetFeature_Ljava_lang_String_Handler")]
public virtual bool GetFeature (string? name);
[<Android.Runtime.Register("getFeature", "(Ljava/lang/String;)Z", "GetGetFeature_Ljava_lang_String_Handler")>]
abstract member GetFeature : string -> bool
override this.GetFeature : string -> bool

Parameters

name
String

The name of feature to be retrieved.

Returns

The value of named feature. Unknown features are <string>always</strong> returned as false

Attributes

Remarks

Return the current value of the feature with given name.

<b>NOTE:</b> factory features are not used for XML Serializer.

Java documentation for org.xmlpull.v1.XmlPullParserFactory.getFeature(java.lang.String).

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