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

Moves to the attribute with the specified local name and namespace URI.

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, false. If false, the reader's position does not change.