Dynamicweb 9
Dynamicweb 9
Dynamicweb.Analytics.Model
ModelCollection(T) Class
ModelCollection(T) Methods
Add Method
AddRange Method
Find Method
IndexOf Method
Insert Method
InsertRange Method
SortByName Method
ModelCollection
T
Insert Method
Inserts an element at the specified position.
Namespace:
Dynamicweb.Analytics.Model
Assembly:
Dynamicweb.Analytics (in Dynamicweb.Analytics.dll) Version: 2.1.4
Syntax
C#
VB
Copy
public
void
Insert
(
int
index
, T
item
)
Public
Sub
Insert
(
index
As
Integer
,
item
As
T )
Parameters
index
Type:
System
Int32
0-based index at which element should be inserted.
item
Type:
T
Element to insert.
Exceptions
Exception
Condition
ArgumentNullException
item
is null.
ArgumentOutOfRangeException
index
is less than zero or
index
is equal to or greater than Count.
See Also
Reference
ModelCollection
T
Class
Dynamicweb.Analytics.Model Namespace