MobileListItemCollection.Add Method
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.
Adds an item to the end of a collection. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
Overloads
Add(String) |
Adds an item to the end of a collection with the provided string as the Text property. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET. |
Add(MobileListItem) |
Adds an item to the end of a collection. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET. |
Add(String)
Adds an item to the end of a collection with the provided string as the Text property. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
public:
virtual void Add(System::String ^ item);
public virtual void Add(string item);
abstract member Add : string -> unit
override this.Add : string -> unit
Public Overridable Sub Add (item As String)
Parameters
- item
- String
The item to add to the end of the collection.
Remarks
Creates a new list item with the specified text and then adds it to the end of the collection.
See also
Applies to
Add(MobileListItem)
Adds an item to the end of a collection. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
public:
void Add(System::Web::UI::MobileControls::MobileListItem ^ item);
public void Add(System.Web.UI.MobileControls.MobileListItem item);
member this.Add : System.Web.UI.MobileControls.MobileListItem -> unit
Public Sub Add (item As MobileListItem)
Parameters
- item
- MobileListItem
The item to add to the end of the collection.
Remarks
Depending on the syntax used, the Add method either adds the specified item to the end of the collection, or constructs a new list item with the specified text and then adds it to the end of the collection.
See also
- Clear()
- Remove(String)
- RemoveAt(Int32)
- Introduction to the List Control
- Introduction to the SelectionList Control