Share via


IXMLDOMProcessingInstruction.insertBefore Method (IXMLDOMNode, Object)

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 insertBefore ( _
    newChild As IXMLDOMNode, _
    refChild As Object _
) As IXMLDOMNode
'Usage
Dim instance As IXMLDOMProcessingInstruction
Dim newChild As IXMLDOMNode
Dim refChild As Object
Dim returnValue As IXMLDOMNode

returnValue = instance.insertBefore(newChild, _
    refChild)
IXMLDOMNode insertBefore(
    IXMLDOMNode newChild,
    Object refChild
)

Parameters

Return Value

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

Implements

IXMLDOMNode.insertBefore(IXMLDOMNode, Object)

See Also

Reference

IXMLDOMProcessingInstruction Interface

IXMLDOMProcessingInstruction Members

insertBefore Overload

Microsoft.Office.Interop.InfoPath.Xml Namespace