IConversionManager.SetPreference Method

InfoPath Developer Reference

Sets the preferences of the custom importer.

Version Information
 Version Added:  InfoPath 2003

Syntax

expression.SetPreference(conversionPreference)

expression   An expression that returns an IConversionManager object.

Parameters

Name Required/Optional Data Type Description
conversionPreference Required xdPreference Import Wizard preferences for the custom importer.

Return Value
[HRESULT]

Remarks

For more information about implementing the IConversionManager and the IConversionManager2 interfaces, see the InfoPath Developer Portal on the Microsoft Office Developer Center.

This interface, object, member or enumeration is provided by the InfoPath design environment. A reference must be set to the Microsoft Office InfoPath Designer 2.0 Type Library, located at C:\Program Files\Microsoft Office\Office12\IPDESIGN.DLL.

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

See Also