SpreadsheetGear 2010
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

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 © 2003-2010 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.