This documentation is archived and is not being maintained.

InputParameterCollection Interface (Microsoft.Office.Interop.InfoPath.SemiTrust)

Represents a collection of InputParameter objects.


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

<CLSCompliantAttribute(False)> _
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, see InputParameters.

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 Office Forms Server 2007 or Microsoft Office SharePoint Server 2007 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.