MoveToId()

XPathNavigator::MoveToId(String) method

When overridden in a derived class, moves to the node that has an attribute of type ID whose value matches the specified String.

virtual bool System::Xml::XPath::XPathNavigator::MoveToId(String id)=0

Arguments

ParameterTypeDescription
idStringA String representing the ID value of the node to which you want to move.

Return Value

true if the XPathNavigator is successful moving; otherwise, false. If false, the position of the navigator is unchanged.

See Also