IHTMLLocation::get_hostnameIHTMLLocation::get_hostname*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLLocation::put_hostname
*Next Topic: IHTMLLocation::put_port

IHTMLLocation::get_hostname


HRESULT get_hostname(
    BSTR *p 
);

Retrieves the hostname part of the location or URL.

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

See also put_hostname

Up Top of Page


IHTMLLocation::put_hostname


HRESULT put_hostname(
    BSTR v 
);

Sets the hostname portion of the location or URL.

v
String specifying the host name.

See also get_hostname


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