IHTMLDocument6::isCompatible Method
.gif)
Note: This documentation is preliminary and is subject to change.
Returns a value that indicates whether the document is compatible with the specified mode.
Syntax
HRESULT isCompatible( BSTR bstrDocMode, VARIANT_BOOL *pfCompatible );
Parameters
- bstrDocMode
[in] A BSTR that specifies the compatibility mode.
Quirks
Quirks mode.StandardsIE5
Quirks mode.StandardsIE7
Strict mode.StandardsIE8
Internet Explorer 8 in IE8 mode.- pfCompatible
[out, retval] Returns VARIANT_TRUE if the specified mode is active, VARIANT_FALSE otherwise.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
This property is available in all compatibility modes.
See Also