طريقة System::Xml::XmlAttributeCollection::InsertBefore

XmlAttributeCollection::InsertBefore method

يدرج السمة المحددة مباشرةً قبل السمة المرجعية المحددة.

SharedPtr<XmlAttribute> System::Xml::XmlAttributeCollection::InsertBefore(const SharedPtr<XmlAttribute> &newNode, const SharedPtr<XmlAttribute> &refNode)
معاملنوعالوصف
newNodeconst SharedPtr<XmlAttribute>&الخاصية المراد إدراجها.
refNodeconst SharedPtr<XmlAttribute>&الخاصية المرجعية. newNode توضع قبل refNode.

ReturnValue

الـXmlAttribute لإدراجها في المجموعة.

انظر أيضًا