addImportaddImport*
*



Contents  *



Index  *Topic Contents
*Previous Topic: addChannel
*Next Topic: addReadRequest

addImport

Description

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

Syntax

integer = stylesheet.addImport(url [, index])

ParameterDescription
url String specifying the location of the source file for the style sheet.
index Optional. Integer specifying the requested position of 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

Returns an integer index value specifying the position of the imported style sheet in the imports collection.

Remarks

The index is a zero-based index value.

Applies To

styleSheet


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.