hash property

Sets or retrieves the subsection of the IHTMLLinkElement4::href property that follows the number sign (#).

Syntax

HRESULT value = object.put_hash( v);HRESULT value = object.get_hash(* p);

Property values

Type: BSTR

the part of the URL following the number sign (#).

Remarks

If there is no number sign, this property returns an empty string.

This property is useful for moving to a bookmark within a document. Assigning an invalid value does not cause an error.