EyeshotKeyedCollection<T>.Add Method

Adds one item at the end of this collection.
Public Overridable Shadows Function Add( _ 
ByVal item As T _ 
) As Integer
This language is not supported or no code example is available.
new public virtual int Add( 
T item 
)
This language is not supported or no code example is available.

Parameters

item
T

The item to add.

Return Value

int

The item index.

Exception type Condition

EyeshotException

Thrown when an item with the same key already exists in the collection.

.NET Framework

Supported in: 4.8

In this article

Definition