Share via


XDocuments.New method

This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, seeXDocuments2.New.

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

Syntax

'Declaration
Function New ( _
    varURI As Object, _
    dwBehavior As Integer _
) As XDocument
'Usage
Dim instance As XDocuments
Dim varURI As Object
Dim dwBehavior As Integer
Dim returnValue As XDocument

returnValue = instance.New(varURI, dwBehavior)
XDocument New(
    Object varURI,
    int dwBehavior
)

Parameters

Return value

Type: Microsoft.Office.Interop.InfoPath.SemiTrust.XDocument

See also

Reference

XDocuments interface

XDocuments members

Microsoft.Office.Interop.InfoPath.SemiTrust namespace