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

XmlAttributeCollection::InsertBefore method

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

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

ReturnValue

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

انظر أيضًا