InputParameterObject Interface

Definition

Represents values that can be passed to a new instance of a form through command-line or Uniform Resource Locator (URL) name/value pairs.

public interface class InputParameterObject : Microsoft::Office::Interop::InfoPath::InputParameter
[System.Runtime.InteropServices.Guid("096CD5B5-0786-11D1-95FA-0080C78EE3BB")]
public interface InputParameterObject : Microsoft.Office.Interop.InfoPath.InputParameter
type InputParameterObject = interface
    interface InputParameter
Public Interface InputParameterObject
Implements InputParameter
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, seeInputParameter.

The InputParameter object contains a name/value pair for each parameter passed to InfoPath through a command-line, using the /InputParameters option, or through a URL string. The following syntax will open a new InfoPath form based on the form template specified and with two name/value input parameter pairs:

  • Command-line:
  • URL:

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

Name

Gets the name of the input parameter that the InputParameter object represents.

(Inherited from InputParameter)
Value

Gets the value of the input parameter that the InputParameter object represents.

(Inherited from InputParameter)

Applies to