This documentation is archived and is not being maintained.

IInfoPathDataImporter.Initialize Method

Office 2007
Initializes the IInfoPathDataImporter interface.

Version Information
 Version Added:  InfoPath 2007

Syntax

expression.Initialize(lcid)

expression   An expression that returns a IInfoPathDataImporter interface.

Parameters

NameRequired/OptionalData TypeDescription
lcidRequired[UINT]The locale ID of the language used to display localized strings.

Return Value
[HRESULT]

Remarks

The Initialize method is called automatically before the Import method. The Uninitialize is also called automatically.

This object or member is used for extending the InfoPath application and is not intended to be used directly from your form code.

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




Show: