This documentation is archived and is not being maintained.
ListItem Members
.NET Framework 1.1
Public Constructors
ListItem Constructor | Overloaded. Initializes a new instance of the ListItem class. |
Public Properties
Attributes | Gets a collection of attribute name and value pairs for the ListItem that are not directly supported by the class. |
Selected | Gets or sets a value indicating whether the item is selected. |
Text | Gets or sets the text displayed in a list control for the item represented by the ListItem. |
Value | Gets or sets the value associated with the ListItem. |
Public Methods
Equals | Overridden. See Object.Equals. |
![]() FromString | Creates a ListItem from the specified text. |
GetHashCode | Overridden. See Object.GetHashCode. |
GetType (inherited from Object) | Gets the Type of the current instance. |
ToString | Overridden. See Object.ToString. |
Protected Methods
Finalize (inherited from Object) | Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
In C# and C++, finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
See Also
Show:
