Share via


IXmlPullParser.GetProperty(String) Method

Definition

Look up the value of a property.

[Android.Runtime.Register("getProperty", "(Ljava/lang/String;)Ljava/lang/Object;", "GetGetProperty_Ljava_lang_String_Handler:Org.XmlPull.V1.IXmlPullParserInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Lang.Object? GetProperty (string? name);
[<Android.Runtime.Register("getProperty", "(Ljava/lang/String;)Ljava/lang/Object;", "GetGetProperty_Ljava_lang_String_Handler:Org.XmlPull.V1.IXmlPullParserInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetProperty : string -> Java.Lang.Object

Parameters

name
String

The name of property to be retrieved.

Returns

The value of named property.

Attributes

Remarks

Look up the value of a property.

The property name is any fully-qualified URI.

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

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