Share via


ownerRule property

Retrieves a value that indicates whether this style sheet comes from an @import rule or a link (an element or processing instruction).

 

Syntax

HRESULT value = object.get_ownerRule(IHTMLCSSRule** p);

Property values

Type: Object

a value that indicates whether the style sheet comes from an @import rule or a link.

Standards information

Remarks

If the style sheet comes from an @import rule, the IHTMLStyleSheet4::ownerRule property will contain a CSSImportRule object, and the IHTMLStyleSheet4::ownerNode property will be null. If the style sheet comes from a link, the IHTMLStyleSheet4::ownerRule property will be null, and the IHTMLStyleSheet4::ownerNode will contain the node.

See also

IHTMLStyleSheet4::cssRules