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

IHTMLStyleSheet::addImport Method


Adds a style sheet to the imports collection for the given style sheet.

Syntax

HRESULT addImport(
    BSTR bstrURL,
    long lIndex,
long *plIndex 
);

Parameters

bstrURL
String that specifies the location of the source file for the style sheet.
lIndex
Integer that specifies the requested position of the style sheet in the collection. The position is zero-based.
plIndex
Address of a variable that receives an integer index value that specifies the position of the imported style sheet in the imports collection.

Return Value

Returns S_OK if successful, or an error code otherwise.

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.