IPropertyBag.Write method
Available to the implementation of the IPropertyBag interface of a custom data importer, but always returns E_ACCESSDENIED.
Namespace: Microsoft.Office.Interop.InfoPath
Assembly: Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)
Syntax
'Declaration
Sub Write ( _
pszPropName As String, _
ByRef pVar As Object _
)
'Usage
Dim instance As IPropertyBag
Dim pszPropName As String
Dim pVar As Object
instance.Write(pszPropName, pVar)
void Write(
string pszPropName,
ref Object pVar
)
Parameters
pszPropName
Type: System.StringN/A
pVar
Type: System.ObjectN/A
Remarks
A custom data importer is created by implementing the IInfoPathDataImporter interface. For more information about programmatically importing data into an InfoPath form, see the InfoPath Developer Portal on the Microsoft Office Developer Center.