ListBox.SelectedIndexCollection(ListBox) 构造函数

定义

初始化 ListBox.SelectedIndexCollection 类的新实例。Initializes a new instance of the ListBox.SelectedIndexCollection class.

public:
 SelectedIndexCollection(System::Windows::Forms::ListBox ^ owner);
public SelectedIndexCollection (System.Windows.Forms.ListBox owner);
new System.Windows.Forms.ListBox.SelectedIndexCollection : System.Windows.Forms.ListBox -> System.Windows.Forms.ListBox.SelectedIndexCollection
Public Sub New (owner As ListBox)

参数

owner
ListBox

代表集合的所有者的 ListBoxA ListBox representing the owner of the collection.

注解

不能创建此类的实例,无需将其与 @no__t 0 的控件相关联。You cannot create an instance of this class without associating it with a ListBox control.

适用于