IInfoPathViewControl.DataType Property

InfoPath Developer Reference

Gets the data type of a control in the view. Read-only

Version Information
 Version Added:  InfoPath 2007

Syntax

expression.DataType(pbstrDataType)

expression   An expression that returns an IInfoPathViewControl object.

Parameters

Name Required/Optional Data Type Description
pbstrDataType Required String The data type of the control

Return Value
[HRESULT]

Remarks

For a list of controls that are enumerated in the view, if present, see the GetControls method of the IInfoPathDataImporterFields interface.

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