IInfoPathViewControl.InputScopes method
Gets the input scope of the current control in the enumeration.
Namespace: Microsoft.Office.Interop.InfoPath
Assembly: Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)
Syntax
'Declaration
Sub InputScopes ( _
<OutAttribute> ppInputScopes As IntPtr, _
<OutAttribute> ByRef pcInputScopes As UInteger, _
<OutAttribute> ByRef ppenumPhraseList As IEnumString, _
<OutAttribute> ByRef pbstrRegExp As String _
)
'Usage
Dim instance As IInfoPathViewControl
Dim ppInputScopes As IntPtr
Dim pcInputScopes As UInteger
Dim ppenumPhraseList As IEnumString
Dim pbstrRegExp As String
instance.InputScopes(ppInputScopes, pcInputScopes, _
ppenumPhraseList, pbstrRegExp)
void InputScopes(
IntPtr ppInputScopes,
out uint pcInputScopes,
out IEnumString ppenumPhraseList,
out string pbstrRegExp
)
Parameters
ppInputScopes
Type: System.IntPtrPointer to an array of input scopes.
pcInputScopes
Type: System.UInt32The number of input scopes in the array pointed to by ppInputScopes.
ppenumPhraseList
Type: Microsoft.Office.Interop.InfoPath.IEnumStringPointer to an implementation of the IEnumString interface containing the phrase list.
pbstrRegExp
Type: System.StringPointer to a string containing the regular expression to be recognized.
Remarks
For information about how input scopes are defined for controls in InfoPath forms, search InfoPath help for "Input scopes for InfoPath controls".
For a list of controls that are enumerated in the view, if present, see the GetControls method of the IInfoPathDataImporterFields interface.
For more information about programmatically importing data into an InfoPath form, see the InfoPath Developer Portal on the Microsoft Office Developer Center.