Spread ASP.NET 6.0 Product Documentation
Insert Method
See Also  Send Feedback
FarPoint.Web.Chart Assembly > FarPoint.Web.Chart Namespace > LightCollection Class : Insert Method


index
Index at which item should be inserted.
item
Light.

Glossary Item Box

Inserts a light into the collection at the specified index.

Syntax

Visual Basic (Declaration) 
Public Sub Insert( _
   ByVal index As Integer, _
   ByVal item As Light _
) 
Visual Basic (Usage)Copy Code
Dim instance As LightCollection
Dim index As Integer
Dim item As Light
 
instance.Insert(index, item)
C# 
public void Insert( 
   int index,
   Light item
)

Parameters

index
Index at which item should be inserted.
item
Light.

Exceptions

ExceptionDescription
System.ArgumentNullException item is a null reference (Nothing in VB).

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.