SelectListItem Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SelectListItem() |
Initializes a new instance of the SelectListItem class using the default settings. |
SelectListItem(SelectListItem) |
Initializes a new instance of the SelectListItem class by copying the specified select list item. |
SelectListItem()
Initializes a new instance of the SelectListItem class using the default settings.
public SelectListItem();
Public Sub New ()
Applies to
SelectListItem(SelectListItem)
Initializes a new instance of the SelectListItem class by copying the specified select list item.
public SelectListItem(System.Web.WebPages.Html.SelectListItem item);
new System.Web.WebPages.Html.SelectListItem : System.Web.WebPages.Html.SelectListItem -> System.Web.WebPages.Html.SelectListItem
Public Sub New (item As SelectListItem)
Parameters
- item
- SelectListItem
The select list item to copy.