InputParameters.Item property
Gets a reference to the specified InputParameter object from the InputParameters collection.
Namespace: Microsoft.Office.Interop.InfoPath
Assembly: Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)
Syntax
'Declaration
ReadOnly Default Property Item ( _
varIndex As Object _
) As InputParameterObject
Get
'Usage
Dim instance As InputParameters
Dim varIndex As Object
Dim value As InputParameterObject
value = instance(varIndex)
InputParameterObject this[
Object varIndex
] { get; }
Parameters
varIndex
Type: System.ObjectThe specified index or name of the InputParameter object.
Property value
Type: Microsoft.Office.Interop.InfoPath.InputParameterObject
The specified InputParameter object.
Remarks
An InputParameter object can be referenced by name, if known, or by index value.
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.