Inserts an item in the attached drop-down list for this number box.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function InsertItem( _
ByVal Item As Short, _
ByVal Text As String _
) As Short |
Visual Basic (Usage) | |
---|
Dim instance As IPropertyManagerPageNumberbox
Dim Item As Short
Dim Text As String
Dim value As Short
value = instance.InsertItem(Item, Text)
|
C# | |
---|
short InsertItem(
short Item,
string Text
) |
C++/CLI | |
---|
short InsertItem(
& short Item,
& 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