Language

XmlPullParserReader.MoveToAttribute Method

Definition

Overloads

Name Description
MoveToAttribute(Int32)

Moves to the indexed attribute. Throws IndexOutOfRangeException if the index is outside the attribute count.

MoveToAttribute(String)

Moves to an attribute using a qualified name.

MoveToAttribute(String, String)

Moves to a matching parser or namespace attribute.

MoveToAttribute(Int32)

Moves to the indexed attribute. Throws IndexOutOfRangeException if the index is outside the attribute count.

public override void MoveToAttribute(int i);
override this.MoveToAttribute : int -> unit

Parameters

i
Int32

The attribute index.

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

MoveToAttribute(String)

Moves to an attribute using a qualified name.

public override bool MoveToAttribute(string name);
override this.MoveToAttribute : string -> bool

Parameters

name
String

The attribute name, optionally with a namespace prefix.

Returns

true if a match is found; otherwise, false.

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

MoveToAttribute(String, String)

Moves to a matching parser or namespace attribute.

public override bool MoveToAttribute(string localName, string? namespaceName);
override this.MoveToAttribute : string * string -> bool

Parameters

localName
String

The attribute's local name.

namespaceName
String

The namespace URI to use in the lookup.

Returns

true if a match is found; otherwise, false.

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