Inserts an item in the attached drop-down list of this combo box.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function InsertItem( _
ByVal Item As System.Short, _
ByVal Text As System.String _
) As System.Short |
Visual Basic (Usage) | |
---|
Dim instance As IPropertyManagerPageCombobox
Dim Item As System.Short
Dim Text As System.String
Dim value As System.Short
value = instance.InsertItem(Item, Text) |
C# | |
---|
System.short InsertItem(
System.short Item,
System.string Text
) |
C++/CLI | |
---|
System.short InsertItem(
& System.short Item,
& System.String^ Text
) |
Parameters
- Item
- Position where to add the item in the 0-based list or -1 to put the item at the end of the list
- Text
- Text for item
Return Value
Position in the 0-based list where the item is added or -1 if the item is not added to the list
See Also
Availability
SOLIDWORKS 2007 FCS, Revision Number 15.0