InputParameterCollection interface

Office 2013 and later

Represents a collection of InputParameter objects.

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

<GuidAttribute("096cd694-0786-11d1-95fa-0080c78ee3bb")> _
Public Interface InputParameterCollection _
	Inherits InputParameters
Dim instance As InputParameterCollection

This type is a wrapper for a coclass that is required by managed code for COM interoperability. Use this type to access the members of the COM interface implemented by this coclass. For information about the COM interface, including a link to descriptions of its members, seeInputParameters.

The InputParameters collection can be used to access the Name and Value properties of each InputParameter object. It is not possible to add new InputParameter objects using the InfoPath object model.

This collection is populated when a form template is opened from the command line with the /InputParameters option and one or more name/value pairs, separated by the ampersand (&) character, or from a URL string that specifies input parameters.


If the form template is published to Microsoft SharePoint Server 2010 with InfoPath Forms Services, there may be other name/value pairs that are automatically inserted by the server when input parameters are used with a URL. Specific input parameters may have different index values when using a URL than when using the /InputParameters command-line option.