SpreadsheetGear
AddItem(String,Int32) Method
See Also  Send Feedback
SpreadsheetGear.Shapes Namespace > IControlFormat Interface > AddItem Method : AddItem(String,Int32) Method

text
Specifies the text of the item to add.
index
Specifies the zero based index for the new item.
Adds the specified list item at the specified zero based index.

Syntax

Visual Basic (Declaration) 
Overloads Sub AddItem( _
   ByVal text As String, _
   ByVal index As Integer _
) 
C# 
void AddItem( 
   string text,
   int index
)

Parameters

text
Specifies the text of the item to add.
index
Specifies the zero based index for the new item.

Requirements

Platforms: Windows 2000, Windows XP, Windows Vista, Windows Server 2003 and Windows Server 2008. SpreadsheetGear 2009 requires the Microsoft .NET Framework 2.0 and supports .NET 3.0 and .NET 3.5.

See Also

Copyright © 2003-2009 SpreadsheetGear LLC. All Rights Reserved.Help Powered by Innovasys   
SpreadsheetGear is a registered trademark of SpreadsheetGear LLC.
Microsoft, Microsoft Excel and Visual Studio are trademarks or registered trademarks of Microsoft Corporation.