Share via


XDocumentsCollectionClass.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 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.New(varURI, dwBehavior)
public virtual XDocument New(
    Object varURI,
    int dwBehavior
)

Parameters

Return value

Type: Microsoft.Office.Interop.InfoPath.XDocument

Implements

XDocuments2.New(Object, Int32)

See also

Reference

XDocumentsCollectionClass class

XDocumentsCollectionClass members

Microsoft.Office.Interop.InfoPath namespace