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

另见