Contents Index Topic Contents | ||
Previous Topic: IHTMLAreaElement::get_host Next Topic: IHTMLAreaElement::get_href |
IHTMLAreaElement::get_hostname
HRESULT get_hostname( BSTR *p );Retrieves the host-name part of the location or URL.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a string variable that receives the host name. If no host name is available, this parameter receives an empty string.
See also put_hostname
IHTMLAreaElement::put_hostname
HRESULT put_hostname( BSTR v );Sets the host-name portion of the location or URL.
- Returns S_OK if successful, or an error value otherwise.
- v
- String value specifying the host name.
See also get_hostname
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.