編輯

共用方式為


ListBox.SetItemsCore(IList) Method

Definition

Clears the contents of the ListBox and adds the specified items to the control.

protected:
 override void SetItemsCore(System::Collections::IList ^ value);
protected override void SetItemsCore (System.Collections.IList value);
override this.SetItemsCore : System.Collections.IList -> unit
Protected Overrides Sub SetItemsCore (value As IList)

Parameters

value
IList

An array of objects to insert into the control.

Applies to