XmlPullParserReader.MoveToAttribute Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Applies to
MoveToAttribute(String)
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.