[This is preliminary documentation and is subject to change.]

Called after item is added to collection

Namespace: Tools.CollectionsT.GenericT
Assembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
void OnAdded(
	ICollection Collection,
	Nullable<int> index
)
Visual Basic
Sub OnAdded ( _
	Collection As ICollection, _
	index As Nullable(Of Integer) _
)
Visual C++
void OnAdded(
	ICollection^ Collection, 
	Nullable<int> index
)
F#
abstract OnAdded : 
        Collection:ICollection * 
        index:Nullable<int> -> unit 
JScript
function OnAdded(
	Collection : ICollection, 
	index : Nullable<int>
)

Parameters

Collection
Type: System.Collections..::..ICollection
Collection item was added into
index
Type: System..::..Nullable<(Of <(<'Int32>)>)>
Index at which the item was added. Note: Index may change later without notice (i.e. when collection gets sorted). Ic collection does not support indexing value is null.

See Also