次の方法で共有


IPropertyBag.RemoteRead メソッド

プリンタ設定を読み取り、IPropertyBag オブジェクトをカスタム データ インポータに格納するために使用されます。

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

構文

'宣言
Sub RemoteRead ( _
    <InAttribute> pszPropName As String, _
    <OutAttribute> ByRef pVar As Object, _
    <InAttribute> pErrorLog As IErrorLog, _
    <InAttribute> varType As UInteger, _
    <InAttribute> pUnkObj As Object _
)
'使用
Dim instance As IPropertyBag
Dim pszPropName As String
Dim pVar As Object
Dim pErrorLog As IErrorLog
Dim varType As UInteger
Dim pUnkObj As Object

instance.RemoteRead(pszPropName, pVar, pErrorLog, varType, pUnkObj)
void RemoteRead (
    [InAttribute] string pszPropName,
    out Object pVar,
    [InAttribute] IErrorLog pErrorLog,
    [InAttribute] uint varType,
    [InAttribute] Object pUnkObj
)

パラメータ

  • pszPropName
  • pVar
  • pErrorLog
    IErrorLog オブジェクトへのポインタ。
  • varType
  • pUnkObj

コメント

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

関連項目

参照

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