host
Collapse the table of content
Expand the table of content

host property

Sets or retrieves the IHTMLAreaElement::hostname and IHTMLAreaElement::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 IHTMLAreaElement::host property is the concatenation of the IHTMLAreaElement::hostname and IHTMLAreaElement::port properties, separated by a colon (hostname:port). When the IHTMLAreaElement::port property is null, the IHTMLAreaElement::host property is the same as the IHTMLAreaElement::hostname property.

 

 

Show:
© 2016 Microsoft