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

另见