Used by Chart collections to insert an object at the specified location into the collection.
Insert custom label object into the collection.
Visual Basic (Declaration) | |
---|---|
Public Overloads Sub Insert( _ ByVal index As Integer, _ ByVal value As Object _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
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.This method can be used to insert an object into a collection.
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