共用方式為


DelegatingXmlDictionaryReader.MoveToAttribute Method

Definition

Overloads

MoveToAttribute(String, String)

Moves to the InnerReader's attribute with the specified LocalName and NamespaceURI.

MoveToAttribute(Int32)

Moves to the InnerReader's attribute with the specified index.

MoveToAttribute(String)

Moves to the InnerReader's attribute with the given local name.

MoveToAttribute(String, String)

Moves to the InnerReader's attribute with the specified LocalName and NamespaceURI.

public override bool MoveToAttribute (string name, string namespace);
override this.MoveToAttribute : string * string -> bool
Public Overrides Function MoveToAttribute (name As String, namespace As String) As Boolean

Parameters

name
String

The local name of the attribute.

namespace
String

The namespace URI of the attribute.

Returns

true if the attribute is found; otherwise, false.

Applies to

MoveToAttribute(Int32)

Moves to the InnerReader's attribute with the specified index.

public override void MoveToAttribute (int index);
override this.MoveToAttribute : int -> unit
Public Overrides Sub MoveToAttribute (index As Integer)

Parameters

index
Int32

The index of the attribute.

Applies to

MoveToAttribute(String)

Moves to the InnerReader's attribute with the given local name.

public override bool MoveToAttribute (string name);
override this.MoveToAttribute : string -> bool
Public Overrides Function MoveToAttribute (name As String) As Boolean

Parameters

name
String

The qualified name of the attribute.

Returns

true if the attribute is found; otherwise, false.

Applies to