Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves an interface pointer to a location object.
Syntax
HRESULT IHTMLDocument2::get_location(IHTMLLocation **p);
Parameters
- p
Address of a pointer to an IHTMLLocation interface that receives the location object.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
The object contains information about the current location (full URL) of the document.