ListBox.SetItemsCore(IList) 方法

定义

清除 ListBox 的内容,并向控件中添加指定项。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)

参数

value
IList

要插入控件中的对象的数组。An array of objects to insert into the control.

适用于