Export (0) Print
Expand All

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)

void InputScopes(
	IntPtr ppInputScopes,
	out uint pcInputScopes,
	out IEnumString ppenumPhraseList,
	out string pbstrRegExp


Type: System.IntPtr

Pointer to an array of input scopes.

Type: System.UInt32

The number of input scopes in the array pointed to by ppInputScopes.

Type: Microsoft.Office.Interop.InfoPath.IEnumString

Pointer to an implementation of the IEnumString interface containing the phrase list.

Type: System.String

Pointer to a string containing the regular expression to be recognized.

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.

© 2014 Microsoft