Language

IXmlPullParser.Name Property

Definition

For START_TAG or END_TAG events, the (local) name of the current element is returned when namespaces are enabled.

public string? Name { [Android.Runtime.Register("getName", "()Ljava/lang/String;", "GetGetNameHandler:Org.XmlPull.V1.IXmlPullParserInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; }
[<get: Android.Runtime.Register("getName", "()Ljava/lang/String;", "GetGetNameHandler:Org.XmlPull.V1.IXmlPullParserInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.Name : string

Property Value

The local element name at a start or end tag when namespace processing is enabled, or the raw element name when it is disabled. Under the XML pull-parser contract, at an entity-reference event this is the entity name, and for other events it is null. XmlReaderPullParser instead returns the wrapped reader's LocalName.

Attributes

Remarks

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