SpreadsheetGear 2017
AddItem(String) Method






SpreadsheetGear.Shapes Namespace > IControlFormat Interface > AddItem Method : AddItem(String) Method
Specifies the text of the item to add.
Adds the specified list item at the end of the list.
Syntax
'Declaration
 
Overloads Sub AddItem( _
   ByVal text As System.String _
) 
'Usage
 
Dim instance As IControlFormat
Dim text As System.String
 
instance.AddItem(text)
void AddItem( 
   System.string text
)
procedure AddItem( 
    text: System.String
); 
function AddItem( 
   text : System.String
);
void AddItem( 
   System.string* text
) 
void AddItem( 
   System.String^ text
) 

Parameters

text
Specifies the text of the item to add.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IControlFormat Interface
IControlFormat Members
Overload List
RemoveItem Method
RemoveAllItems Method
ListFillRange Property
List Property
ListCount Property
ListIndex Property