IHTMLDocument2::get_protocolIHTMLDocument2::get_protocol*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLDocument2::get_security
*Next Topic: IHTMLDocument2::get_nameProp

IHTMLDocument2::get_protocol


HRESULT get_protocol(
    BSTR *p
);

Retrieves the protocol portion of the URL that the browser uses to locate the document file. The protocol portion, which indicates the access method, includes the initial substring of the URL up to and including the first colon.

p
Address of a string variable that receives the protocol.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.