System::Xml::XPath::XPathNavigator::MoveToId 方法

XPathNavigator::MoveToId method

当在派生类中被重写时,移动到具有 ID 类型属性且其值与指定的 String 匹配的节点。

virtual bool System::Xml::XPath::XPathNavigator::MoveToId(String id)=0
参数类型描述
idString一个表示要移动到的节点的 ID 值的 String

ReturnValue

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

另见