ActiveReports 12
InsertRange Method (StyleSheet)

GrapeCity.ActiveReports.v12 Assembly > GrapeCity.ActiveReports.PageReportModel Namespace > StyleSheet Class : InsertRange Method
The zero-based index at which the new elements should be inserted.
The collection whose elements should be inserted into the List. The collection itself cannot be null, but it can contain elements that are null, if type T is a reference type.
Inserts the elements of a collection into the List at the specified index.
Syntax
'Declaration
 
Public Sub InsertRange( _
   ByVal index As Integer, _
   ByVal collection As IEnumerable(Of Style) _
) 
public void InsertRange( 
   int index,
   IEnumerable<Style> collection
)

Parameters

index
The zero-based index at which the new elements should be inserted.
collection
The collection whose elements should be inserted into the List. The collection itself cannot be null, but it can contain elements that are null, if type T is a reference type.
Exceptions
ExceptionDescription
collection is null.
index is less than 0.-or-index is greater than Count.
See Also

Reference

StyleSheet Class
StyleSheet Members