Spread for ASP.NET 7.0 Product Documentation
OnInsert Method
See Also  Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Chart Namespace > SpreadChartCollection Class : OnInsert Method


index
The zero-based index at which to insert value.
value
The new value of the element at index.

Glossary Item Box

Performs additional custom processes before inserting a new element into the System.Collections.CollectionBase instance.

Syntax

Visual Basic (Declaration) 
Protected Overrides Sub OnInsert( _
   ByVal index As Integer, _
   ByVal value As Object _
) 
Visual Basic (Usage)Copy Code
Dim instance As SpreadChartCollection
Dim index As Integer
Dim value As Object
 
instance.OnInsert(index, value)
C# 
protected override void OnInsert( 
   int index,
   object value
)

Parameters

index
The zero-based index at which to insert value.
value
The new value of the element at index.

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.