[This documentation is preliminary and is subject to change.]
Sets or retrieves the rendering format for the data supplied to the object.
HRESULT value = object.put_dataFormatAs(BSTR v);HRESULT value = object.get_dataFormatAs(BSTR* p);
Default. Data is rendered as text.
Data is rendered as HTML.
Internet Explorer 5.01 and later versions. Data is rendered using the locale settings of the client machine.
As of Windows Internet Explorer 7, the IHTMLDatabinding::dataFormatAs attribute is no longer supported for the input type=button object.
Internet Explorer 5.01 or later honors the regional settings for the user's control panel when the IHTMLDatabinding::dataFormatAs attribute is set to localized-text. Internet Explorer 5.01 or later performs a locale-dependent type conversion on the native value, instead of using the data source object to perform the conversion, when binding a textual element such as a span, div, or input to date, currency, or numeric data. Microsoft Internet Explorer 5 does not provide this feature. To compensate for this limitation, a data source object can implement ISimpleDataConverter to participate in the conversion. Neither of these features is supported in earlier versions of Windows Internet Explorer.
Build date: 6/6/2012