IHTMLStyleElement::styleSheet Property

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

Syntax


HRESULT IHTMLStyleElement::get_styleSheet(IHTMLStyleSheet **p);

Parameters

p
Address of a pointer to a variable of type IHTMLStyleSheet interface that receives the interface pointer.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

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

Community Additions

Show: