CreateLink Command | IDM_HYPERLINK Command ID
Retrieves the URL of a hyperlink or creates a hyperlink on the current selection. In the latter case, the URL of the hyperlink will be set to the vValue/pvaIn parameter.
Scripting Information
C++ Information
Command group
|
CGID_MSHTML |
Symbolic constant
|
IDM_HYPERLINK
|
User interface |
Yes.
|
IOleCommandTarget::Exec parameters |
pvaIn |
Required. VT_BSTR specifying a URL. Providing an empty string will leave the URL blank.
|
pvaOut |
VT_BSTR representing the URL of the hyperlink.
|
|
Header file
|
Mshtmcid.h
|
Applies to
|
IOleCommandTarget::Exec, IOleCommandTarget::QueryStatus
|
Minimum Availability
Internet Explorer 4.0 and later