_XDocument4.InputParameters Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an InputParameterCollection object containing any input parameters specified using the /InputParameters command-line option, or specified using query parameters in a URL.
public:
property Microsoft::Office::Interop::InfoPath::InputParameterCollection ^ InputParameters { Microsoft::Office::Interop::InfoPath::InputParameterCollection ^ get(); };
public Microsoft.Office.Interop.InfoPath.InputParameterCollection InputParameters { get; }
member this.InputParameters : Microsoft.Office.Interop.InfoPath.InputParameterCollection
Public ReadOnly Property InputParameters As InputParameterCollection
Property Value
An InputParameterCollection object containing input parameters.
Implements
Examples
In the following example, an InfoPath form template is opened from the command line using the following syntax:
infopath.exe "C:\User Forms\DeptReport.xsn" /InputParameters "Dept=Accounting"
string vDept = (_XDocument4)thisXDocument.InputParameters["Dept"];
Dim vDept As String =
DirectCast(thisXDocument, _XDocument4).InputParameters("Dept")
In the following example, an InfoPath form template is opened from the command line using the following syntax:
infopath.exe "C:\User Forms\DeptReport.xsn" /InputParameters "Dept=Accounting"
string vDept = (_XDocument4)thisXDocument.InputParameters["Dept"];
Dim vDept As String =
DirectCast(thisXDocument, _XDocument4).InputParameters("Dept")
Remarks
Input parameters consist of one or more name/value pairs separated by the ampersand (&) character that are specified when a form template is opened from the command line or a batch file using the /InputParameters command-line option. Input parameters can also be specified using query parameters when a form template is opened from a URL.
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기