MobileListItem Constructors

Definition

Initializes a new instance of the MobileListItem class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Overloads

MobileListItem()

Initializes a new instance of the MobileListItem class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

MobileListItem(String)

Initializes a new instance of the MobileListItem class using the specified Text property. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

MobileListItem(MobileListItemType)

Initializes a new instance of the MobileListItem class with the specified Type. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

MobileListItem(String, String)

Initializes a new instance of the MobileListItem class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

MobileListItem(Object, String, String)

Initializes a new instance of the MobileListItem class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

MobileListItem()

Initializes a new instance of the MobileListItem class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

C#
public MobileListItem();

Remarks

This constructor builds a MobileListItem object with the missing elements set to null. The parameterless constructor initializes all properties to null.

See also

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

MobileListItem(String)

Initializes a new instance of the MobileListItem class using the specified Text property. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

C#
public MobileListItem(string text);

Parameters

text
String

Initializes Text.

Remarks

This constructor builds a MobileListItem object with the missing elements set to null. The object is initialized with the Text property set to the value of the text parameter.

See also

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

MobileListItem(MobileListItemType)

Initializes a new instance of the MobileListItem class with the specified Type. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

C#
public MobileListItem(System.Web.UI.MobileControls.MobileListItemType itemType);

Parameters

itemType
MobileListItemType

Initializes the specified item with this item type.

Remarks

This constructor builds a MobileListItem object with the missing elements set to null. The object is initialized with the itemType parameter.

See also

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

MobileListItem(String, String)

Initializes a new instance of the MobileListItem class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

C#
public MobileListItem(string text, string value);

Parameters

text
String

Initializes Text.

value
String

Initializes Value.

Remarks

This constructor builds a MobileListItem object with the missing elements set to null. The object is initialized with the Text and Value properties set to the values of the corresponding text and value parameters.

See also

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

MobileListItem(Object, String, String)

Initializes a new instance of the MobileListItem class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

C#
public MobileListItem(object dataItem, string text, string value);

Parameters

dataItem
Object

Initializes DataItem.

text
String

Initializes Text.

value
String

Initializes Value.

Remarks

This constructor builds a MobileListItem object with the missing elements set to null. The object is initialized with the DataItem, Text, and Value properties set to the values of the corresponding dataItem, text, and value parameters.

See also

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1