Collections
DataObjects
Properties
Name | Type | Description |
---|---|---|
Count | Long | Returns number of DataObjects in the DataObjects collection. |
Item | DataObject | Returns the DataObject; method has VARIANT parameter that is Long for enumeration and String for accessing DataObject by name. |
Errors
Properties
Name | Type | Description |
---|---|---|
Count | Long | Returns the number of error objects in the errors collection. |
Item | ValidationError | Returns the error object corresponding to the specified index. |
Methods
Name | Return Type | Parameters | Description |
---|---|---|---|
Add | Validation Error | VARIANT varNode String bstrConditionName String bstrShortErrorMessage String bstrDetailedErrorMessage Long ErrorCode (optional) String bstrType (optional: “modeless”) | Creates an error object and adds it to the errors collection. |
Delete | VARIANT varNode String bstrConditionName | Deletes all error objects associated with the specified XML Node and Condition Name. | |
DeleteAll | Deletes all error objects in the collection. |
TaskPanes
Properties
Name | Type | Description |
---|---|---|
Count | Long | Returns the number of TaskPane objects in the task pane collection |
Item | TaskPane | Returns the TaskPane object by its type value (not by its index in the collection). |
ViewInfos
Properties
Name | Type | Description |
---|---|---|
Count | Long | Returns number of ViewInfo objects in collection |
Methods
Name | Return Type | Parameters | Description |
---|---|---|---|
Item | ViewInfo | VARIANT Index | Returns ViewObject by specified index: LONG for enumeration and BSTR for accessing ViewObjects by name. |
Windows
Properties
Name | Type | Description |
---|---|---|
Count | Long | Returns number of Window objects in collection. |
Methods
Name | Return Type | Parameters | Description |
---|---|---|---|
Item | Window | VARIANT Index | Returns Window specified by LONG index. |
XDocuments
Properties
Name | Type | Description |
---|---|---|
Count | Long | Returns the number of XDocument objects in collection. |
Item | XDocument | Returns XDocument object by specified index: String for enumeration access; String for accessing XDocuments by URL. |
Methods
Name | Return Type | Parameters | Description |
---|---|---|---|
Close | VARIANT varIndex | Closes the document specified by: Long collection index XDocument object Document file URL | |
New | XDocument | VARIANT varTemplateURI Long XdDocument VersionMode (optional: xdFail OnVersionOlder) | Creates new document by specified template XML file. |
NewFrom Solution | XDocument | VARIANT varSolutionURI | Creates a new form using the specified template package. |
Open | XDocument | VARIANT varDocumentURI Long XdDocument VersionMode (optional: xdFailOnVersionOlder) | Opens the form specified by URI. |
XMLNodes
Properties
Name | Type | Description |
---|---|---|
Count | Long | Returns the number of XML Nodes in the collection. |
Item | XMLDOMNode | Returns XMLDOMNode object by specified collection index. |