Share via


IXMLDOMDocument3.replaceChild Method (IXMLDOMNode, IXMLDOMNode)

This type or member acts as a proxy for a Microsoft XML Core Services (MSXML) object or member. For information about the MSXML object or member that is wrapped by this type or member, see the MSXML SDK. For more information about using MSXML objects or members from managed code, see Working with MSXML5 and System.Xml Using the InfoPath 2003 Object Model.

Namespace:  Microsoft.Office.Interop.InfoPath.Xml
Assembly:  Microsoft.Office.Interop.InfoPath.Xml (in Microsoft.Office.Interop.InfoPath.Xml.dll)

Syntax

'Declaration
Function replaceChild ( _
    newChild As IXMLDOMNode, _
    oldChild As IXMLDOMNode _
) As IXMLDOMNode
'Usage
Dim instance As IXMLDOMDocument3
Dim newChild As IXMLDOMNode
Dim oldChild As IXMLDOMNode
Dim returnValue As IXMLDOMNode

returnValue = instance.replaceChild(newChild, _
    oldChild)
IXMLDOMNode replaceChild(
    IXMLDOMNode newChild,
    IXMLDOMNode oldChild
)

Parameters

Return Value

Type: Microsoft.Office.Interop.InfoPath.Xml.IXMLDOMNode

Implements

IXMLDOMDocument2.replaceChild(IXMLDOMNode, IXMLDOMNode)

See Also

Reference

IXMLDOMDocument3 Interface

IXMLDOMDocument3 Members

replaceChild Overload

Microsoft.Office.Interop.InfoPath.Xml Namespace