編輯

共用方式為


IInfoPathDataImporterFields Interface

Definition

A collection of fields in the view.

public interface class IInfoPathDataImporterFields
[System.Runtime.InteropServices.Guid("096CD76C-0786-11D1-95FA-0080C78EE3BB")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IInfoPathDataImporterFields
type IInfoPathDataImporterFields = interface
Public Interface IInfoPathDataImporterFields
Attributes

Remarks

Use the GetControls(IEnumUnknown) method of the IInfoPathDataImporterFields interface to return a collection of IInfoPathViewControl objects. Each object in the collection corresponds to a control in the view of the form. Each control has various properties you can evaluate or set, like the read-only DataType and InputScopes(IntPtr, UInt32, IEnumString, String) properties, and the read/write Value property. Use these properties in conjunction with the data from the import source to import data into an InfoPath form.

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

Methods

GetControls(IEnumUnknown)

Gets a collection of IInfoPathViewControl objects for each control in the view.

Applies to