IInfoPathDataImporter.Initialize Method

InfoPath Developer Reference

Initializes the IInfoPathDataImporter interface.

Version Information
 Version Added:  InfoPath 2007

Syntax

expression.Initialize(lcid)

expression   An expression that returns a IInfoPathDataImporter interface.

Parameters

Name Required/Optional Data Type Description
lcid Required [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.

See Also