Share via


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.IntPtr

    Pointer to an array of input scopes.

  • pcInputScopes
    Type: System.UInt32

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

  • pbstrRegExp
    Type: System.String

    Pointer 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.

See also

Reference

IInfoPathViewControl interface

IInfoPathViewControl members

Microsoft.Office.Interop.InfoPath namespace