System::Xml::XPath::XPathNavigator::MoveToId metod

XPathNavigator::MoveToId method

När den åsidosätts i en avledd klass, flyttar den till den nod som har ett attribut av typen ID vars värde matchar den angivna String.

virtual bool System::Xml::XPath::XPathNavigator::MoveToId(String id)=0
ParameterTypeBeskrivning
idStringEn String som representerar ID‑värdet för den nod du vill flytta till.

ReturnValue

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

Se även