Skip to main content

ComboBoxItemCollection.AddRange(ICollection) Method

Adds the items from the specified collection to the current collection.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

public virtual void AddRange(
    ICollection collection
)

Parameters

Name Type Description
collection ICollection

An object which implements the ICollection interface.

Remarks

To add a single item to the collection, use the ComboBoxItemCollection.Add method.

The following code snippets (auto-collected from DevExpress Examples) contain references to the AddRange(ICollection) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also