'Declaration Public Overloads Function Add( _ ByVal text As String, _ ByVal imageIndex As Integer _ ) As Integer
'Usage Dim instance As SmartItemCollection Dim text As String Dim imageIndex As Integer Dim value As Integer value = instance.Add(text, imageIndex)
public int Add( string text, int imageIndex )
Parameters
- text
- The text displayed by the SmartItem.
- imageIndex
- The index of the image displayed by the SmartItem.
Return Value
The index at which the SmartItem was added.