addImport Method

Internet Development Index

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

Syntax

iIndexActual = styleSheet.addImport(sURL [, iIndexRequest])

Parameters

sURL Required. String爐hat specifies the location of the source file for the style sheet.
iIndexRequest Optional. Integer爐hat 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

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

Standards Information

There is no public standard that applies to this method.

Applies To

styleSheet