IHTMLAnchorElement::get_hashIHTMLAnchorElement::get_hash*
*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.

Up Top of Page


IHTMLAnchorElement::put_hash


HRESULT put_hash(
    BSTR v
);

Sets the string following the # symbol in the HREF attribute of the anchor element.

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.


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