Contents Index Topic Contents | ||
Previous Topic: IHTMLAnchorElement::get_accessKey Next Topic: IHTMLAnchorElement::get_host |
IHTMLAnchorElement::get_hash
HRESULT get_hash( BSTR *p );Retrieves the string associated with the hash property of the A object.
- p
- Address of a string variable that receives the value.
IHTMLAnchorElement::put_hash
HRESULT put_hash( BSTR v );Sets the string following the # symbol in the HREF attribute of the anchor element.
- Returns S_OK if successful, or an error value otherwise.
- v
- String value specifying the hash portion of the URL.
This property is useful for moving to a bookmark within a document. Assigning an invalid value does not cause an error.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.