ListItem Methods
.NET Framework 2.0
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Equals | Overloaded. Overridden. Returns a value indicating whether this instance is equal to a specified object. |
| FromString | Creates a ListItem from the specified text. |
| GetHashCode | Overridden. Serves as a hash function for a particular type, and is suitable for use in hashing algorithms and data structures like a hash table. |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| ToString | Overridden. |
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| System.Web.UI.IAttributeAccessor.GetAttribute | Returns the attribute value of the list item control having the specified attribute name. |
| System.Web.UI.IAttributeAccessor.SetAttribute | Sets an attribute of the list item control with the specified name and value. |
| System.Web.UI.IParserAccessor.AddParsedSubObject | Allows the Text property to be persisted as inner content. |
| System.Web.UI.IStateManager.LoadViewState | For a description of this member, see IStateManager.LoadViewState. |
| System.Web.UI.IStateManager.SaveViewState | For a description of this member, see IStateManager.SaveViewState. |
| System.Web.UI.IStateManager.TrackViewState | For a description of this member, see IStateManager.TrackViewState. |
Reference
ListItem ClassSystem.Web.UI.WebControls Namespace
ListControl Class
RadioButtonList
ListBox Class
DropDownList Class
CheckBoxList Class
Other Resources
ListBox Web Server ControlRadioButton and RadioButtonList Web Server Controls Overview
BulletedList Web Server Control
DropDownList Web Server Control
Securing Standard Controls
How to: Protect Against Script Exploits in a Web Application by Applying HTML Encoding to Strings
Validating User Input in ASP.NET Web Pages
Community Additions
ADD
Show: