styleSheet property

[For the style element, IHTMLCSSImportRule::styleSheet is no longer supported. Starting with Internet Explorer 11, use IHTMLLinkElement5::sheet. For info, see Compatibility changes.]

Retrieves an interface pointer that provides access to the style sheet object's properties and methods.


HRESULT value = object.get_styleSheet(IHTMLStyleSheet** p);

Property values

Type: Object

the interface pointer.


A null value for p indicates that there is no style sheet for the object.