SelectListItem Class
Represents the selected item in an instance of the SelectList class.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
| Name | Description | |
|---|---|---|
![]() | SelectListItem() | Initializes a new instance of the SelectListItem class. |
| Name | Description | |
|---|---|---|
![]() | Disabled | Gets or sets a value that indicates whether this SelectListItem is disabled. |
![]() | Group | Represents the optgroup HTML element this item is wrapped into. In a select list, multiple groups with the same name are supported. They are compared with reference equality. |
![]() | Selected | Gets or sets a value that indicates whether this SelectListItem is selected. |
![]() | Text | Gets or sets the text of the selected item. |
![]() | Value | Gets or sets the value of the selected item. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


