Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

hreflang property

[This documentation is preliminary and is subject to change.]

Sets or retrieves the language code of the object.

Syntax

HRESULT value = object.put_hreflang(BSTR v);HRESULT value = object.get_hreflang(BSTR* p);

Property values

Type: BSTR

the language code.

Standards information

Remarks

You must set the value of this property before you can retrieve it.

Language codes identify natural languages that are spoken, written, or otherwise used for the communication of information among people, and are defined and explained in Tags for the Identification of Languages (RFC1766). Computer languages are explicitly excluded from language codes.

IHTMLAnchorElement2::hreflang was introduced in Microsoft Internet Explorer 6

 

 

Build date: 6/6/2012

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.