< Day Day Up > |
The InfoPath 2003 object model has seven collections, each of which is described briefly here. The DataObjects CollectionThe DataObjects collection contains zero or more DataObject objects. Each DataObject object represents a secondary data source for an InfoPath form. DataObjects Collection MethodsThe DataObjects collection has no methods. DataObjects Collection PropertiesThe 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 CollectionThe Errors collection contains the Error objects associated with a form. Errors Collection MethodsThe Errors collection has three methods:
Errors Collection PropertiesThe Errors collection has two properties:
The TaskPanes CollectionThe TaskPanes collection represents the task panes associated with a window in an InfoPath form. TaskPanes Collection MethodsThe TaskPanes collection has no methods. TaskPanes Collection PropertiesThe TaskPanes collection has two properties:
The ViewInfos CollectionThe ViewInfos collection contains ViewInfo objects that store information about each view in the form. ViewInfos Collection MethodsThe ViewInfos collection has no methods. ViewInfos Collection PropertiesThe ViewInfos collection has two properties:
The Windows CollectionThe Windows collection contains a Window object for each window in an InfoPath form. Windows Collection MethodsThe Windows collection has no methods. Windows Collection PropertiesThe Windows collection has two properties:
The XDocuments CollectionThe XDocuments collection contains XDocument objects that each represent an InfoPath form that is open in the InfoPath client. XDocuments Collection MethodsThe XDocuments collection has four methods:
XDocuments Collection PropertiesThe XDocuments collection has two properties:
The XMLNodes CollectionThe 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 MethodsThe XMLNodes collection has no methods. XMLNodes Collection PropertiesThe XMLNodes collection has two properties:
|
< Day Day Up > |