CMDID_SCRIPTSITE_IURI Command ID
Retrieves the URL of the current document as an IUri.
C++ Information
Command group CGID_ScriptSite (defined in mshtmhst.h) Symbolic constant CMDID_SCRIPTSITE_IURI User interface None. Set nCmdExecOpt to OLECMDEXECOPT_DONTPROMPTUSER. IOleCommandTarget::Exec parameters pvaIn Set to NULL.pvaOut Receives a VARIANT of type VT_UNKNOWN that contains the IUri interface for the URL of the current document.Header file mshtmhst.h Applies to IHTMLDocument2::execCommand, IHTMLDocument2::queryCommandEnabled, IHTMLDocument2::queryCommandIndeterm, IHTMLDocument2::queryCommandState, IHTMLDocument2::queryCommandSupported, IHTMLDocument2::queryCommandValue, IOleCommandTarget::Exec, IOleCommandTarget::QueryStatus.
Remarks
The GUID for CGID_ScriptSite is
3050F3F1-98B5-11CF-BB82-00AA00BDCE0B.#define CMDID_SCRIPTSITE_IURI 7
Minimum Availability
Internet Explorer 7 and later.
See Also
CMDID_SCRIPTSITE_URL