Adds an item to the beginning of the list. If the item already exists
within the list, the existing item is first removed then added to the
beginning of the list.
Syntax
Visual Basic (Declaration) | |
---|
Public Sub Add( _
ByVal item As T _
) |
C# | |
---|
public void Add(
T item
) |
Parameters
- item
- The item to add to the collection
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also