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.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a string variable that receives the port number. If no port is specified, this parameter receives an empty string.
IHTMLAnchorElement::put_port
HRESULT put_port( BSTR v );Sets the port number in a URL.
- Returns S_OK if successful, or an error value otherwise.
- v
- String value specifying the port number.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.