This topic has not yet been rated - Rate this topic

host property

Sets or retrieves the IHTMLLocation::hostname and IHTMLLocation::port number of the location or URL.

Syntax

HRESULT value = object.put_host( v);HRESULT value = object.get_host(* p);

Property values

Type: BSTR

the host name and port number.

Remarks

The IHTMLLocation::host property is the concatenation of the IHTMLLocation::hostname and IHTMLLocation::port properties, separated by a colon (hostname:port). When the IHTMLLocation::port property is null, the IHTMLLocation::host property is the same as the IHTMLLocation::hostname property.

 

 

Build date: 11/12/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.