Contents Index Topic Contents | ||
Previous Topic: IHTMLLocation::put_protocol Next Topic: IHTMLLocation::put_host |
IHTMLLocation::get_protocol
HRESULT get_protocol( BSTR *p );Retrieves the protocol portion of the URL that the browser uses to locate the item. The protocol portion, which indicates the access method, includes the initial substring of the URL up to and including the first colon.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a variable that receives the protocol.
See also put_protocol
IHTMLLocation::put_protocol
HRESULT put_protocol( BSTR v );Sets the protocol portion of the URL that the browser uses to locate the item. The protocol portion, which indicates the access method, includes the initial substring of the URL up to and including the first colon.
- Returns S_OK if successful, or an error value otherwise.
- v
- String specifying the protocol.
See also get_protocol
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.