IHTMLAnchorElement::get_hostIHTMLAnchorElement::get_host*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLAnchorElement::get_hash
*Next Topic: IHTMLAnchorElement::get_hostname

IHTMLAnchorElement::get_host


HRESULT get_host(
    BSTR *p
);

Retrieves the host name and the optional port information 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_host


HRESULT put_host(
    BSTR v
);

Sets the host name and the optional port information of the location or URL.

v
String value specifying the host name and the optional port information.


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