addImport
Collapse the table of content
Expand the table of content

IHTMLStyleSheet::addImport method

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

Syntax


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

Parameters

sURL [in]

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

iIndexRequest [in, optional]

long 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

Pointer to a long integer that receives a zero-based index value indicating the position of the imported style sheet in the imports collection.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IHTMLStyleSheet

 

 

Show:
© 2016 Microsoft