XDocumentsCollectionClass.XDocuments_New method

This type is a wrapper for a coclass or coclass member that is required by managed code for COM interoperability. This class is not intended to be used in code.

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

Syntax

'Declaration
Public Overridable Function XDocuments_New ( _
    varURI As Object, _
    dwBehavior As Integer _
) As XDocument
'Usage
Dim instance As XDocumentsCollectionClass
Dim varURI As Object
Dim dwBehavior As Integer
Dim returnValue As XDocument

returnValue = instance.XDocuments_New(varURI, _
    dwBehavior)
public virtual XDocument XDocuments_New(
    Object varURI,
    int dwBehavior
)

Parameters

Return value

Type: Microsoft.Office.Interop.InfoPath.XDocument

Implements

XDocuments.New(Object, Int32)

See also

Reference

XDocumentsCollectionClass class

XDocumentsCollectionClass members

Microsoft.Office.Interop.InfoPath namespace