protocol property

Sets or retrieves the protocol portion of a URL.


HRESULT value = object.put_protocol(BSTR v);HRESULT value = object.get_protocol(BSTR* p);

Property values

Type: BSTR

the protocol used to transfer information.


The IHTMLImgElement::protocol property specifies how to transfer information from the host to the client. Windows Internet Explorer supports several predefined protocols, including http and ftp.