共用方式為


IHTMLElementAppliedStyles interface

Provides methods to rules that are applied to an element.

Members

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

  • Methods

Methods

The IHTMLElementAppliedStyles interface has these methods.

Method Description
msGetRulesAppliedWithAncestor

Returns a collection of rules from a previous call to IHTMLElementAppliedStyles::msGetRulesApplied or IHTMLElementAppliedStyles::msGetRulesAppliedWithAncestor on one of the element's ancestors. By making this call, you avoid recalculating styles from that ancestor on upwards.

 

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7

Minimum supported server

Windows Server 2008 R2

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch