Dundas Chart for ASP.NET
Insert(Int32,Object) Method
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > CustomLabelsCollection Class > Insert Method : Insert(Int32,Object) Method


index

The index value where the item should be inserted (0-based).


Zero based index.
value

The object to be inserted.


Custom label to add.

Used by Chart collections to insert an object at the specified location into the collection.


Insert custom label object into the collection.

Syntax

Visual Basic (Declaration)  
Public Overloads Sub Insert( _
   ByVal index As Integer, _
   ByVal value As Object _
) 
Visual Basic (Usage) Copy Code
Dim instance As CustomLabelsCollection
Dim index As Integer
Dim value As Object
 
instance.Insert(index, value)
C#  
public void Insert( 
   int index,
   object value
)

Parameters

index

The index value where the item should be inserted (0-based).


Zero based index.
value

The object to be inserted.


Custom label to add.

Return Value

Index of the newly added object.

Remarks

This method can be used to insert an object into a collection.

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

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.