XdmReader.MoveToAttribute Method (string, string)XdmReader.MoveToAttribute Method (String, String)XdmReader::MoveToAttribute Method (String^, String^)

When overridden in a derived class, moves to the attribute with the specified LocalNameLocalNameLocalName and NamespaceURINamespaceURINamespaceURI.

Syntax

Public Overrides Function MoveToAttribute( _
    name As String, _
    ns As String _
) As Boolean
public override bool MoveToAttribute(
    string name,
    string ns
)
public:
virtual bool MoveToAttribute(
    String^ name, 
    String^ ns
) override
 

Parameters

name

Type: System.StringSystem.StringSystem::String^

The local name of the attribute.

ns

Type: System.StringSystem.StringSystem::String^

The namespace URI of the attribute.

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

trueTruetrue if the attribute is found; otherwise, falseFalsefalse. If falseFalsefalse, the reader's position does not change.