Retrieves the relationship(s) described by the hypertext link from the anchor to the target.
Syntax
HRESULT get_rel( BSTR *p );
Parameters
- p
- Address of a string (BSTR) variable that receives the relationship(s). This parameter receives a comma-separated list of relationship values. For details, see the rel property.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
The default relationship, if no other is given, is void. The rel property is used only when the href property is present.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
Sets the relationship(s) described by the hypertext link from the anchor to the target.
Syntax
HRESULT put_rel( BSTR v );
Parameters
- v
- String (BSTR) value that specifies the relationship(s) to set. This parameter is a comma-separated list of relationship values. For details, see the rel property.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
The default relationship, if no other is given, is void. The rel property is used only when the href property is present.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0