Freigeben über


HtmlSelect.Select-Methode

Wählt mehrere Elemente aus der Items-Auflistung des HtmlSelect-Steuerelements aus.

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

Syntax

'Declaration
Protected Overridable Sub Select ( _
    selectedIndices As Integer() _
)
'Usage
Dim selectedIndices As Integer()

Me.Select(selectedIndices)
protected virtual void Select (
    int[] selectedIndices
)
protected:
virtual void Select (
    array<int>^ selectedIndices
)
protected void Select (
    int[] selectedIndices
)
protected function Select (
    selectedIndices : int[]
)

Parameter

  • selectedIndices
    Ein Array vom Typ Int32, das die auszuwählenden Elemente enthält.

Hinweise

Die Select-Methode wählt mehrere Elemente aus der Items-Auflistung aus.

Plattformen

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

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

HtmlSelect-Klasse
HtmlSelect-Member
System.Web.UI.HtmlControls-Namespace
Items
ListItemCollection
ListItem.Selected

Weitere Ressourcen

HTML-Serversteuerelemente