編輯

共用方式為


InputParameterCollection Interface

Definition

Represents a collection of InputParameter objects.

public interface class InputParameterCollection : Microsoft::Office::Interop::InfoPath::InputParameters
[System.Runtime.InteropServices.Guid("096CD694-0786-11D1-95FA-0080C78EE3BB")]
public interface InputParameterCollection : Microsoft.Office.Interop.InfoPath.InputParameters
type InputParameterCollection = interface
    interface InputParameters
Public Interface InputParameterCollection
Implements InputParameters
Derived
Attributes
Implements

Remarks

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.

Note: 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.

Properties

Count

Gets a count of the number of InputParameter objects contained in the InputParameters collection.

(Inherited from InputParameters)
Item[Object]

Gets a reference to the specified InputParameter object from the InputParameters collection.

(Inherited from InputParameters)

Methods

GetEnumerator()

Gets an IEnumerator that can be used to iterate over all entries in the InputParameters collection.

(Inherited from InputParameters)

Applies to