IHTMLStyleSheet::type Property

Retrieves the Cascading Style Sheets (CSS) language in which the style sheet is written.

Syntax


HRESULT IHTMLStyleSheet::get_type(BSTR *p);

Parameters

p
Pointer to a variable of type BSTR that receives the CSS language of the style sheet.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

This property can be any string, including an empty string. Style sheets having any type other than "text/css" are not supported for Microsoft Internet Explorer 4.0.

Community Additions

ADD
Show:
© 2015 Microsoft