Partager via


IHTMLDocumentCompatibleInfo interface

Provides information about the compatibity mode specified by the web page. If the web page specifies multiple compatibility modes, they can be retrieved using IHTMLDocumentCompatibleInfoCollection.

Members

The IHTMLDocumentCompatibleInfo interface inherits from the IDispatch interface. IHTMLDocumentCompatibleInfo also has these types of members:

  • Properties

Properties

The IHTMLDocumentCompatibleInfo interface has these properties.

Property Description

userAgent

Retrieves the User Agent.

version

Retrieves the version vector as a string.

 

Requirements

Minimum supported client

Windows XP with SP2

Minimum supported server

Windows Server 2003

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch

Reference

DocumentCompatibleInfo

IHTMLDocumentCompatibleInfoCollection

Conceptual

Defining Document Compatibility