IHTMLAreaElement::get_protocolIHTMLAreaElement::get_protocol*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLAreaElement::get_port
*Next Topic: IHTMLAreaElement::get_search

IHTMLAreaElement::get_protocol


HRESULT get_protocol(
    BSTR *p
);

Retrieves the protocol portion of the URL. 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.

See also put_protocol

Up Top of Page


IHTMLAreaElement::put_protocol


HRESULT put_protocol(
    BSTR v
);

Sets the initial substring up to and including the first colon, which indicates the URL's access method.

v
String value specifying the protocol substring.

See also get_protocol


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