与えられたフォーム要素の値を返します。
#include <IE.au3> 
_IEFormElementGetValue ( ByRef $o_object )
パラメータ
| $o_object | InternetExplorer.Applicationのオブジェクト変数、フォーム要素オブジェクト | 
返し値
| 成功: | 与えられたフォーム要素の文字列値を返します | 
| 失敗: | 0を返し@ERRORを設定します | 
| @Error: | 0 ($_IEStatus_Success) = 正常終了 | 
| 3 ($_IEStatus_InvalidDataType) = 無効なデータ型 | |
| 4 ($_IEStatus_InvalidObjectType) = 無効なオブジェクト型 | |
| @Extended: | 無効なパラメータの番号が格納されています | 
注意
_IEFormElementSetValueの注意を参照。
関連
_IEFormElementSetValue, _IEFormElementGetCollection, _IEFormElementGetObjByName, _IEFormElementOptionSelect, _IEFormElementCheckBoxSelect, _IEFormElementRadioSelect
例
; *******************************************************
; 例 1 - フォームのサンプルをブラウザで開き、テキストフォーム要素に値を設定
;              フォーム要素から値を取得し、表示
; *******************************************************
;
#include <IE.au3>
$oIE = _IE_Example ("form")
$oForm = _IEFormGetObjByName ($oIE, "ExampleForm")
$oText = _IEFormElementGetObjByName ($oForm, "textExample")
$IEAu3Version = _IE_VersionInfo ()
_IEFormElementSetValue ($oText, $IEAu3Version[5])
MsgBox(0, "Form Element Value", _IEFormElementGetValue ($oText))