Click to return to the Reusing Browser Technology home page    
IHTMLStyleSheet::get_rule...     IHTMLStyleSheet::get_type...     IHTMLStyleSheet Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLStyleSheet::get_title Method


Retrieves the title of the IHTMLStyleSheet.

Syntax

HRESULT get_title(
    BSTR *p 
);

Parameters

p
Address of a variable that receives the title. This parameter receives FALSE if the style sheet has no title or the title is not currently selected.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

The application of individual style sheets can be turned on and off dynamically. Note that the value of this property is also controlled by whether titled style sheets are applied.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0

IHTMLStyleSheet::put_title Method


Sets the title of the IHTMLStyleSheet element.

Syntax

HRESULT put_title(
    BSTR v 
);

Parameters

v
String that specifies the title.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

The application of individual style sheets can be turned on and off dynamically. Note that the value of this property is also controlled by whether titled style sheets are applied.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.