Contents Index Topic Contents | ||
Previous Topic: IHTMLAnchorElement::get_protocolLong Next Topic: IHTMLAnchorElement::get_rev |
IHTMLAnchorElement::get_rel
HRESULT get_rel( BSTR *p );Retrieves the relationship(s) described by the hypertext link from the anchor to the target.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a string variable that receives the relationship(s). This parameter receives a comma-separated list of relationship values.
Values and their semantics will be registered by the HTML registration authority. The default relationship, if no other is given, is void. The rel property is used only when the href property is present.
IHTMLAnchorElement::put_rel
HRESULT put_rel( BSTR v );Specifies the relationship(s) described by the hypertext link from the anchor to the target.
- Returns S_OK if successful, or an error value otherwise.
- v
- String value specifying the relationship(s). This parameter is a comma-separated list of relationship values.
Values and their semantics will be registered by the HTML registration authority. The default relationship, if no other is given, is void. The rel property is used only when the href property is present.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.