Share via


IXMLDOMDocument2.createProcessingInstruction Method (String, String)

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 createProcessingInstruction ( _
    target As String, _
    data As String _
) As IXMLDOMProcessingInstruction
'Usage
Dim instance As IXMLDOMDocument2
Dim target As String
Dim data As String
Dim returnValue As IXMLDOMProcessingInstruction

returnValue = instance.createProcessingInstruction(target, _
    data)
IXMLDOMProcessingInstruction createProcessingInstruction(
    string target,
    string data
)

Parameters

Return Value

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

Implements

IXMLDOMDocument.createProcessingInstruction(String, String)

See Also

Reference

IXMLDOMDocument2 Interface

IXMLDOMDocument2 Members

createProcessingInstruction Overload

Microsoft.Office.Interop.InfoPath.Xml Namespace