C1.DataCollection Assembly / C1.DataCollection Namespace / IDataCollectionEx Class / CanInsert<T> Method
The data collection.
The index where the items would be inserted.
The item that would be inserted.

In This Topic
CanInsert<T> Method (IDataCollectionEx)
In This Topic
Determines whether a new item can be inserted in the collection at the specified index.
Syntax
'Declaration
 
Public Shared Function CanInsert(Of T As Class)( _
   ByVal dataCollection As IDataCollection(Of T), _
   ByVal index As Integer, _
   ByVal item As T _
) As Boolean
 

Parameters

dataCollection
The data collection.
index
The index where the items would be inserted.
item
The item that would be inserted.

Type Parameters

T
See Also