Insert an CssStyleSheet on a specific place in this CssStyleSheetCollection.

Namespace: TallComponents.Web
Assembly: TallComponents.WebToPDF (in TallComponents.WebToPDF.dll) Version: 2.0.20.1

Syntax

C#
public void Insert(
	int index,
	CssStyleSheet styleSheet
)
Visual Basic
Public Sub Insert ( _
	index As Integer, _
	styleSheet As CssStyleSheet _
)

Parameters

index
Type: System..::..Int32
The zero-based index at which the CssStyleSheet should be inserted.
styleSheet
Type: TallComponents.Web..::..CssStyleSheet
The CssStyleSheet to be insert.

Remarks

The styleSheet does not accept a nullNothingnullptra null reference (Nothing in Visual Basic) as a valid value.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionThe given styleSheet is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also