[This is preliminary documentation and is subject to change.]
Raises the CollectionChanged event via calling OnChanged(ListChangedEventArgs)
Namespace: Tools.CollectionsT.GenericTAssembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
protected void OnCollectionChanged( EventArgs e, CollectionChangeAction Action, T OldValue, T NewValue, int index ) |
| Visual Basic |
|---|
Protected Sub OnCollectionChanged ( _ e As EventArgs, _ Action As CollectionChangeAction, _ OldValue As T, _ NewValue As T, _ index As Integer _ ) |
| Visual C++ |
|---|
protected: void OnCollectionChanged( EventArgs^ e, CollectionChangeAction Action, T OldValue, T NewValue, int index ) |
| F# |
|---|
member OnCollectionChanged : e:EventArgs * Action:CollectionChangeAction * OldValue:'T * NewValue:'T * index:int -> unit |
| JScript |
|---|
protected function OnCollectionChanged( e : EventArgs, Action : CollectionChangeAction, OldValue : T, NewValue : T, index : int ) |
Parameters
- e
- Type: System..::..EventArgs
Argument of preceding call of OnChanged(EventArgs)
- Action
- Type: Tools.CollectionsT.GenericT..::..CollectionChangeAction
Action taken on collection
- OldValue
- Type: T
Old value at index index prior to change. Pass null (default value for value types) if not applicable.
- NewValue
- Type: T
New value at index index after change. pass null (default value for value types) if not applicable
- index
- Type: System..::..Int32
Index at which change has occured. Pass -1 if not applicable
Remarks
You should call one of overloaded OnChanged(EventArgs) methods after all calls of OnChanged(EventArgs).