Add Method
See Also 
SourceCode.SmartObjects.Client.BaseClasses Namespace > ContainerCollectionBase<TParent,TItem> Class : Add Method



item

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Overridable Function Add( _
   ByVal item As TItem _
) As Integer
Visual Basic (Usage) Copy Code
Dim instance As ContainerCollectionBase(Of TParent,TItem)
Dim item As TItem
Dim value As Integer
 
value = instance.Add(item)
C#  
public virtual int Add( 
   TItem item
)
C++/CLI  
public:
virtual int Add( 
   TItem^ item
) 

Parameters

item

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