IHTMLLocation interface
This interface contains information about the current URL.
Members
The IHTMLLocation interface inherits from the IDispatch interface. IHTMLLocation also has these types of members:
- Methods
- Properties
Methods
The IHTMLLocation interface has these methods.
Method | Description |
---|---|
assign | Loads a new HTML document. |
reload | Reloads the current document. |
replace | Replaces the current document by loading another document at the specified URL. |
Properties
The IHTMLLocation interface has these properties.
Property | Description |
---|---|
Sets or retrieves the subsection of the IHTMLLinkElement4::href property that follows the number sign (#). |
|
Sets or retrieves the IHTMLLocation::hostname and IHTMLLocation::port number of the location or URL. |
|
Sets or retrieves the host name part of the location or URL. |
|
Sets or retrieves the entire URL as a string. |
|
Sets or retrieves the file name or path specified by the object. |
|
Sets or retrieves the port number associated with a URL. |
|
Sets or retrieves the protocol portion of a URL. |
|
Sets or retrieves the substring of the IHTMLLocation::href property that follows the question mark. |
Requirements
Minimum supported client |
Windows XP |
Minimum supported server |
Windows 2000 Server |
Header |
Mshtml.h |
IDL |
Mshtml.idl |
DLL |
Mshtml.dll |