共用方式為


IHTMLStyleElement2 interface

This interface extends IHTMLStyleElement for Windows Internet Explorer 9. It provides a mechanism by which a style sheet can be retrieved from the node that is responsible for linking it into a document.

Members

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

  • Properties

Properties

The IHTMLStyleElement2 interface has these properties.

Property Description

sheet

Gets the CSS style sheet that is associated with the object.

 

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