共用方式為


IECMDID_CLEAR_AUTOCOMPLETE_FOR_FORMS Command ID

Clears data saved in forms.

C++ Information

Command group CGID_InternetExplorer (defined in msiehost.h)
Symbolic constant IECMDID_CLEAR_AUTOCOMPLETE_FOR_FORMS
User interface None. Set nCmdExecOpt to OLECMDEXECOPT_DONTPROMPTUSER.
IOleCommandTarget::Exec parameters
pvaInVARIANT of type VT_I4 that contains one of the following defined values:
IECMDID_ARG_CLEAR_FORMS_ALL
Clear all saved autocompletion data for the form.
IECMDID_ARG_CLEAR_FORMS_ALL_BUT_PASSWORDS
Clear all saved autocompletion data for the form, except for passwords.
IECMDID_ARG_CLEAR_FORMS_PASSWORDS_ONLY
Clear only saved passwords from the autocompletion data for the form.
pvaOut Set to NULL.
Header file msiehost.h
Applies to IHTMLDocument2::execCommand, IHTMLDocument2::queryCommandEnabled, IHTMLDocument2::queryCommandIndeterm, IHTMLDocument2::queryCommandState, IHTMLDocument2::queryCommandSupported, IHTMLDocument2::queryCommandValue, IOleCommandTarget::Exec, IOleCommandTarget::QueryStatus.

Minimum Availability

Internet Explorer 5 and later.