IHTMLAnchorElement::get_portIHTMLAnchorElement::get_port*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLAnchorElement::get_pathname
*Next Topic: IHTMLAnchorElement::get_protocol

IHTMLAnchorElement::get_port


HRESULT get_port(
    BSTR *p
);

Retrieves the port number from the URL.

p
Address of a string variable that receives the port number. If no port is specified, this parameter receives an empty string.

Up Top of Page


IHTMLAnchorElement::put_port


HRESULT put_port(
    BSTR v
);

Sets the port number in a URL.

v
String value specifying the port number.


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