IHTMLAnchorElement::get_hostnameIHTMLAnchorElement::get_hostname*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLAnchorElement::get_host
*Next Topic: IHTMLAnchorElement::get_href

IHTMLAnchorElement::get_hostname


HRESULT get_hostname(
    BSTR *p
);

Retrieves the host-name portion of the location or URL.

p
Address of a string variable that receives the host name. If no host name is available, this parameter receives an empty string.

Up Top of Page


IHTMLAnchorElement::put_hostname


HRESULT put_hostname(
    BSTR v
);

Sets the host-name portion of the location or URL.

v
String value specifying the host name.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.