System.Web.UI.WebControls.ListControl.Items Property

Gets the collection of items in the list control.

Syntax

[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerDefaultProperty)]
[System.ComponentModel.MergableProperty(false)]
[System.ComponentModel.DefaultValue(null)]
[System.ComponentModel.Editor("System.Web.UI.Design.WebControls.ListItemsCollectionEditor,System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public virtual ListItemCollection Items { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use this property to get the properties of items in the list control. This property can be used to determine the selected items in the list control.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0