Select Method

HtmlSelect.Select Method

Selects multiple items of the HtmlSelect control's Items collection.

Namespace: System.Web.UI.HtmlControls
Assembly: System.Web (in system.web.dll)

protected virtual void Select (
	int[] selectedIndices
protected void Select (
	int[] selectedIndices
protected function Select (
	selectedIndices : int[]
Not applicable.



An Array of type Int32 that contains the items to select.

The Select method selects multiple items of the Items collection.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

© 2016 Microsoft