Contents Index Topic Contents | ||
Previous Topic: IHTMLLocation::put_hash Next Topic: IHTMLLocation::reload |
IHTMLLocation::get_hash
HRESULT get_hash( BSTR *p );Retrieves the string following the # symbol in the current URL.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a variable that receives the hash portion of the URL. If the URL has no hash sting, this parameter receives and empty string.
This property is useful for moving to a bookmark within a document. Assigning an invalid value does not cause an error.
See also put_hash
IHTMLLocation::put_hash
HRESULT put_hash( BSTR v );Sets the string following the # symbol in the URL.
- Returns S_OK if successful, or an error value otherwise.
- v
- String 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.
See also get_hash
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.