Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

EntitySet.OnCollectionChanged Method

WCF RIA Services

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Called whenever the collection changes.

Namespace:  System.ServiceModel.DomainServices.Client
Assembly:  System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)

protected virtual void OnCollectionChanged(
	NotifyCollectionChangedAction action,
	Object affectedObject,
	int index


Type: System.Collections.Specialized.NotifyCollectionChangedAction
The change action.
Type: System.Object
For reset events, this parameter will be a collection of removed entities. For all other events, this parameter will be the single affected entity.
Type: System.Int32
The affected index.

Overrides should call the base method to raise any required change notifications.

© 2015 Microsoft