طريقة System::Xml::XmlReader::MoveToAttribute

XmlReader::MoveToAttribute(int32_t) method

عند تجاوزها في فئة مشتقة، تنتقل إلى السمة ذات الفهرس المحدد.

virtual void System::Xml::XmlReader::MoveToAttribute(int32_t i)
معاملنوعالوصف
iint32_tفهرس السمة.

انظر أيضًا

XmlReader::MoveToAttribute(String) method

عند تجاوزها في فئة مشتقة، تنتقل إلى السمة ذات القيمة المحددة لـ XmlReader::get_Name.

virtual bool System::Xml::XmlReader::MoveToAttribute(String name)=0
معاملنوعالوصف
nameStringالاسم المؤهل للسمة.

ReturnValue

true if the attribute is found; otherwise, false. If false, the reader’s position does not change.

انظر أيضًا

XmlReader::MoveToAttribute(String, String) method

عند تجاوزها في فئة مشتقة، تنتقل إلى السمة ذات القيم المحددة لـ XmlReader::get_LocalName و XmlReader::get_NamespaceURI.

virtual bool System::Xml::XmlReader::MoveToAttribute(String name, String ns)=0
معاملنوعالوصف
nameStringالاسم المحلي للخاصية.
nsStringمسار URI للمساحة الاسمية للخاصية.

ReturnValue

true if the attribute is found; otherwise, false. If false, the reader’s position does not change.

انظر أيضًا