Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

SelectListItem Class

Represents the selected item in an instance of the SelectList class.

System.Object
  System.Web.Mvc.SelectListItem

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
public class SelectListItem

The SelectListItem type exposes the following members.

  NameDescription
Public methodSelectListItemInitializes a new instance of the SelectListItem class.
Top
  NameDescription
Public propertySelectedGets or sets a value that indicates whether this SelectListItem is selected.
Public propertyTextGets or sets the text of the selected item.
Public propertyValueGets or sets the value of the selected item.
Top
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft. All rights reserved.