BCGControlBar Library for .NET
Insert Method (CollectionWithEvents)




The zero-based index at which value should be inserted.

The object to insert into the CollectionWithEvents object.

Inserts an item to the CollectionWithEvents object at the specified index.
Syntax
'Declaration
 
Public Overridable Sub Insert( _
   ByVal index As Integer, _
   ByVal value As Object _
) 
'Usage
 
Dim instance As CollectionWithEvents
Dim index As Integer
Dim value As Object
 
instance.Insert(index, value)
public virtual void Insert( 
   int index,
   object value
)
public: virtual void Insert( 
   int index,
   Object* value
) 
public:
virtual void Insert( 
   int index,
   Object^ value
) 

Parameters

index
The zero-based index at which value should be inserted.
value

The object to insert into the CollectionWithEvents object.

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

Reference

CollectionWithEvents Class
CollectionWithEvents Members

Send Feedback