Add the specified Item to the collection. This will set the container property of the item as well as raise the ItemAdded event on the Container object.
Syntax
Visual Basic (Declaration) | |
---|
Public Overrides NotOverridable Function Add( _
ByVal item As EventAction _
) As Integer
|
Parameters
- item
- The Item to add.
Return Value
The Item index at which the object has been added.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also