selectorText property

[This documentation is preliminary and is subject to change.]

Retrieves a string that identifies which elements the corresponding style sheet rule applies to.

Syntax

HRESULT value = object.put_selectorText(BSTR v);HRESULT value = object.get_selectorText(BSTR* p);

Property values

Type: BSTR

the element.

Remarks

Selector text can contain either a simple selector (such as 'H1'), or a contextual selector (such as 'P EM') that consists of several simple selectors. Compound selectors (such as 'B, STRONG') are stored as separate rules in the collection.

See also

IHTMLStyleSheetRulesCollection

rules

 

 

Build date: 6/12/2012