ArcGIS Pro 2.7 API Reference Guide
CopyFrom Method (ComboBox)

ArcGIS.Desktop.Framework.Contracts Namespace > ComboBox Class : CopyFrom Method
Existing collection of items to copy from.
Add items from an existing collection.
Syntax
protected void CopyFrom( 
   ICollection collection
)
Protected Sub CopyFrom( _
   ByVal collection As ICollection _
) 

Parameters

collection
Existing collection of items to copy from.
Remarks

Clears the internal collection before copying begins.

All items added to the ItemCollection must be created on the main UI thread as these ultimately become UI content.

Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

ComboBox Class
ComboBox Members