Edit

Kongsi melalui


ListView.SelectedIndexCollection(ListView) Constructor

Definition

Initializes a new instance of the ListView.SelectedIndexCollection class.

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

Parameters

owner
ListView

A ListView control that owns the collection.

Exceptions

.NET 5 and later: owner is null.

Remarks

You cannot create an instance of this class without associating it with a ListView control.

Applies to