返回指定表单中所有表单元素的集合对象变量.
#include <IE.au3> 
_IEFormElementGetCollection ( ByRef $o_object [, $i_index = -1] )
| $o_object | InternetExplorer.Application的表单对象变量 | 
| $i_index | [可选参数]: 指定返回一个集合或索引的实例 0或正整数 = 返回索引的实例 -1 = (默认)返回集合 | 
| 成功: | 返回包含表单元素集合的对象变量, @EXTENDED = 表单元素计数 | 
| 如果$f_select = -1, 返回当前的被选中状态, 或返回1 | |
| 失败: | 返回 0并设置@ERROR | 
| @Error: | 0 ($_IEStatus_Success) = 无错误 | 
| 3 ($_IEStatus_InvalidDataType) = 无效数据类型 | |
| 4 ($_IEStatus_InvalidObjectType) = 无效对象类型 | |
| 5 ($_IEStatus_InvalidValue) = 无效值 | |
| 7 ($_IEStatus_NoMatch) = 无匹配 | |
| @Extended: | 包含无效参数数量 | 
; *******************************************************
; Example 1 - Get a reference to a specific form element by 0-based index.
;               In this case, submit a query to the Google search engine
; *******************************************************
#include <IE.au3>
Local $oIE = _IECreate("http://www.google.com")
Local $oForm = _IEFormGetCollection($oIE, 0)
Local $oQuery = _IEFormElementGetCollection($oForm, 2)
_IEFormElementSetValue($oQuery, "AutoIt IE.au3")
_IEFormSubmit($oForm)