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

Called after item is added to collection

Namespace: Tools.WindowsT.IndependentT
Assembly: Tools.Windows (in Tools.Windows.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
protected virtual void OnAddedToCollection(
	ICollection Collection,
	Nullable<int> index
)
Visual Basic
Protected Overridable Sub OnAddedToCollection ( _
	Collection As ICollection, _
	index As Nullable(Of Integer) _
)
Visual C++
protected:
virtual void OnAddedToCollection(
	ICollection^ Collection, 
	Nullable<int> index
)
F#
abstract OnAddedToCollection : 
        Collection:ICollection * 
        index:Nullable<int> -> unit 
override OnAddedToCollection : 
        Collection:ICollection * 
        index:Nullable<int> -> unit 
JScript
protected function OnAddedToCollection(
	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.

Implements

ICollectionNotifyItem..::..OnAdded(ICollection, Nullable<(Of <<'(Int32>)>>))

See Also

Collapse/expand Version History

1.5.2

  • Method added