XmlAttribute.ReplaceChild(IXmlNode, IXmlNode) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Replaces the specified old child node with the supplied new child node.
public:
virtual IXmlNode ^ ReplaceChild(IXmlNode ^ newChild, IXmlNode ^ referenceChild) = ReplaceChild;
IXmlNode ReplaceChild(IXmlNode const& newChild, IXmlNode const& referenceChild);
public IXmlNode ReplaceChild(IXmlNode newChild, IXmlNode referenceChild);
function replaceChild(newChild, referenceChild)
Public Function ReplaceChild (newChild As IXmlNode, referenceChild As IXmlNode) As IXmlNode
Parameters
- newChild
- IXmlNode
The new child that is to replace the old child. If null, the referenceChild parameter is removed without a replacement.
- referenceChild
- IXmlNode
The old child that is to be replaced by the new child.
Returns
The old child that is replaced. If null, no object is created.
Implements
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro