Aracılığıyla paylaş


IXmlSerializer.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:Org.XmlPull.V1.IXmlSerializerInvoker, 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.IXmlSerializerInvoker, 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 named feature.

Attributes

Exceptions

if feature string is null

Remarks

Return the current value of the feature with given name.

<strong>NOTE:</strong> unknown properties are <strong>always</strong> returned as null

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