次の方法で共有


IXmlPullParser.GetFeature(String) Method

Definition

Returns the current value of the given feature.

[Android.Runtime.Register("getFeature", "(Ljava/lang/String;)Z", "GetGetFeature_Ljava_lang_String_Handler:Org.XmlPull.V1.IXmlPullParserInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool GetFeature (string? name);
[<Android.Runtime.Register("getFeature", "(Ljava/lang/String;)Z", "GetGetFeature_Ljava_lang_String_Handler:Org.XmlPull.V1.IXmlPullParserInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetFeature : string -> bool

Parameters

name
String

The name of feature to be retrieved.

Returns

The value of the feature.

Attributes

Exceptions

if string the feature name is null

Remarks

Returns the current value of the given feature.

<strong>Please note:</strong> unknown features are <strong>always</strong> returned as false.

Java documentation for org.xmlpull.v1.XmlPullParser.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