System::Xml::XPath::XPathNavigator::MoveToAttribute metodo

XPathNavigator::MoveToAttribute method

Sposta il XPathNavigator all’attributo con il nome locale e l’URI dello spazio dei nomi corrispondenti.

virtual bool System::Xml::XPath::XPathNavigator::MoveToAttribute(String localName, String namespaceURI)
ParametroTipoDescrizione
localNameStringaIl nome locale dell’attributo.
namespaceURIStringaL’URI dello spazio dei nomi dell’attributo; nullptr per uno spazio dei nomi vuoto.

ReturnValue

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

Vedi anche