IHTMLLocation::get_hashIHTMLLocation::get_hash*
*



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.

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

Up Top of Page


IHTMLLocation::put_hash


HRESULT put_hash(
    BSTR v 
);

Sets the string following the # symbol in the URL.

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


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