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

XPathNavigator::MoveToAttribute method

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

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

ReturnValue

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

انظر أيضًا