This documentation is archived and is not being maintained.

ListBox Constructor

Initializes a new instance of the ListBox class.

[Visual Basic]
Public Sub New()
[C#]
public ListBox();
[C++]
public: ListBox();
[JScript]
public function ListBox();

Remarks

Use this constructor to create and initialize a new instance of the ListBox class.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

ListBox Class | ListBox Members | System.Web.UI.WebControls Namespace

Show: