Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

host property

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

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.