Microsoft Office InfoPath 2003 Kick Start
| < Day Day Up > |
| The InfoPath 2003 object model has seven collections, each of which is described briefly here. The DataObjects Collection
The DataObjects collection contains zero or more DataObject objects. Each DataObject object represents a secondary data source for an InfoPath form. DataObjects Collection Methods
The DataObjects collection has no methods. DataObjects Collection Properties
The DataObjects collection has two properties:
In JScript, to assign the first DataObject in the DataObjects collection to a variable myVariable , you would write myVariable = XDocument.DataObjects.Item(0); In VBScript, omit the semicolon at the end of the code. The Errors Collection
The Errors collection contains the Error objects associated with a form. Errors Collection Methods
The Errors collection has three methods:
Errors Collection Properties
The Errors collection has two properties:
The TaskPanes Collection
The TaskPanes collection represents the task panes associated with a window in an InfoPath form. TaskPanes Collection Methods
The TaskPanes collection has no methods. TaskPanes Collection Properties
The TaskPanes collection has two properties:
The ViewInfos Collection
The ViewInfos collection contains ViewInfo objects that store information about each view in the form. ViewInfos Collection Methods
The ViewInfos collection has no methods. ViewInfos Collection Properties
The ViewInfos collection has two properties:
The Windows Collection
The Windows collection contains a Window object for each window in an InfoPath form. Windows Collection Methods
The Windows collection has no methods. Windows Collection Properties
The Windows collection has two properties:
The XDocuments Collection
The XDocuments collection contains XDocument objects that each represent an InfoPath form that is open in the InfoPath client. XDocuments Collection Methods
The XDocuments collection has four methods:
XDocuments Collection Properties
The XDocuments collection has two properties:
The XMLNodes Collection
The XMLNodes collection is a collection of XML DOM nodes. The XMLNodes collection is returned by the GetSelectedNodes() or GetContextNodes() method of the View object. XMLNodes Collection Methods
The XMLNodes collection has no methods. XMLNodes Collection Properties
The XMLNodes collection has two properties:
|
| < Day Day Up > |