Upravit

Sdílet prostřednictvím


IInfoPathViewControl.InputScopes(IntPtr, UInt32, IEnumString, String) Method

Definition

Gets the input scope of the current control in the enumeration.

public:
 void InputScopes(IntPtr ppInputScopes, [Runtime::InteropServices::Out] System::UInt32 % pcInputScopes, [Runtime::InteropServices::Out] Microsoft::Office::Interop::InfoPath::IEnumString ^ % ppenumPhraseList, [Runtime::InteropServices::Out] System::String ^ % pbstrRegExp);
public void InputScopes (IntPtr ppInputScopes, out uint pcInputScopes, out Microsoft.Office.Interop.InfoPath.IEnumString ppenumPhraseList, out string pbstrRegExp);
abstract member InputScopes : nativeint *  *  *  -> unit
Public Sub InputScopes (ppInputScopes As IntPtr, ByRef pcInputScopes As UInteger, ByRef ppenumPhraseList As IEnumString, ByRef pbstrRegExp As String)

Parameters

ppInputScopes
IntPtr

nativeint

Pointer to an array of input scopes.

pcInputScopes
UInt32

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

ppenumPhraseList
IEnumString

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

pbstrRegExp
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(IEnumUnknown) method of the IInfoPathDataImporterFields interface.

For more information about programmatically importing data into an InfoPath form, see the InfoPath Developer PortalMicrosoft Office Developer Center.

Applies to