次の方法で共有


IInfoPathViewControl.InputScopes メソッド

列挙にある現在のコントロールの入力範囲を取得します。

名前空間: Microsoft.Office.Interop.InfoPath
アセンブリ: Microsoft.Office.Interop.InfoPath (microsoft.office.interop.infopath.dll 内)

構文

'宣言
Sub InputScopes ( _
    <OutAttribute> ppInputScopes As IntPtr, _
    <OutAttribute> ByRef pcInputScopes As UInteger, _
    <OutAttribute> ByRef ppenumPhraseList As IEnumString, _
    <OutAttribute> ByRef pbstrRegExp As String _
)
'使用
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 (
    [OutAttribute] IntPtr ppInputScopes,
    out uint pcInputScopes,
    out IEnumString ppenumPhraseList,
    out string pbstrRegExp
)

パラメータ

  • ppInputScopes
    入力範囲の配列へのポインタ。
  • pcInputScopes
    ppInputScopes でポイントされた配列の入力範囲の数。
  • ppenumPhraseList
    フレーズ リストを含む IEnumString インターフェイスの実装へのポインタ。
  • pbstrRegExp
    認識される正規表現を含む文字列へのポインタ。

コメント

InfoPath フォーム内のコントロールについて入力範囲を定義する詳細については、InfoPath ヘルプで「InfoPath コントロールの入力範囲」を検索してください。

存在する場合にビューに列挙されるコントロールの一覧については、「IInfoPathDataImporterFields インターフェイス」の「GetControls メソッド」を参照してください。

プログラムによる InfoPath フォームへのデータのインポートの詳細については、Microsoft Office 開発者センターの「InfoPath 開発者ポータル」を参照してください。

関連項目

参照

IInfoPathViewControl インターフェイス
IInfoPathViewControl のメンバ
Microsoft.Office.Interop.InfoPath 名前空間