IHTMLLocation::get_portIHTMLLocation::get_port*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLLocation::put_port
*Next Topic: IHTMLLocation::put_pathname

IHTMLLocation::get_port


HRESULT get_port( 
    BSTR *p 
);

Retrieves the port number from the URL.

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

See also put_port

Up Top of Page


IHTMLLocation::put_port


HRESULT put_port( 
    BSTR v 
);

Sets the port number in a URL.

v
String specifying the port number.

See also get_port


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