KaxComboBoxItemCollectionAddRange Method |
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic virtual void AddRange(
IEnumerable<KaxComboBoxItem> items
)
Public Overridable Sub AddRange (
items As IEnumerable(Of KaxComboBoxItem)
)
public:
virtual void AddRange(
IEnumerable<KaxComboBoxItem^>^ items
)
abstract AddRange :
items : IEnumerable<KaxComboBoxItem> -> unit
override AddRange :
items : IEnumerable<KaxComboBoxItem> -> unit
Parameters
- items
- Type: System.Collections.GenericIEnumerableKaxComboBoxItem
The array of KaxComboBoxItem o append to the end of the current
KaxComboBoxItemCollection.
Examples
The following example demonstrates how to use the
AddRange method
to add multiple items in a single step.
KaxComboBoxItem[] items = new KaxComboBoxItem[] { new KaxComboBoxItem("First"), new KaxComboBoxItem("Second"), new KaxComboBoxItem("Third") };
KaxComboBox1.Items.AddRange(items);
Dim items() As KaxComboBoxItem = {New KaxComboBoxItem("First"), New KaxComboBoxItem("Second"), New KaxComboBoxItem("Third")}
KaxComboBox1.Items.AddRange(items)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
See Also