طريقة System::Xml::XPath::XPathNavigator::MoveToAttribute

XPathNavigator::MoveToAttribute method

ينقل الـ XPathNavigator إلى السمة التي لها الاسم المحلي ومعرف مساحة الاسم المطابقين.

virtual bool System::Xml::XPath::XPathNavigator::MoveToAttribute(String localName, String namespaceURI)
معاملنوعالوصف
localNameStringالاسم المحلي للخاصية.
namespaceURIStringمعرف مساحة الاسم للسمة؛ nullptr لمساحة اسم فارغة.

ReturnValue

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

انظر أيضًا