Export (0) Print
Expand All

IHTMLStyleSheet::addImport method

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

Syntax


Integer* addImport(
  [in]            String sURL,
  [in, optional]  Integer iIndexRequest
);

Parameters

sURL [in]

String that specifies the location of the source file for the style sheet.

iIndexRequest [in, optional]

Integer that specifies the requested position for the style sheet in the collection. If this value is not given, the style sheet is added to the end of the collection.

Return value

C++

 a zero-based index value indicating the position of the imported style sheet in the imports collection.

JavaScript

 a zero-based index value indicating the position of the imported style sheet in the imports collection.

See also

IHTMLStyleSheet
styleSheet

 

 

Show:
© 2014 Microsoft