This documentation is archived and is not being maintained.

ListBox.SelectedIndexCollection Constructor

Initializes a new instance of the ListBox.SelectedIndexCollection class.

[Visual Basic]
Public Sub New( _
   ByVal owner As ListBox _
)
[C#]
public ListBox.SelectedIndexCollection(
   ListBox owner
);
[C++]
public: SelectedIndexCollection(
   ListBox* owner
);
[JScript]
public function ListBox.SelectedIndexCollection(
   owner : ListBox
);

Parameters

owner
A ListBox representing the owner of the collection.

Remarks

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

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ListBox.SelectedIndexCollection Class | ListBox.SelectedIndexCollection Members | System.Windows.Forms Namespace

Show: