Xceed.Silverlight.Data.v2.0 Assembly > Xceed.Silverlight.Data Namespace > DataSourceChangedEventArgs Class > DataSourceChangedEventArgs Constructor : DataSourceChangedEventArgs Constructor(DataSourceChangedAction,IEnumerable<Object>,IEnumerable<Object>) |
Public Function New( _ ByVal action As DataSourceChangedAction, _ ByVal newItems As IEnumerable(Of Object), _ ByVal oldItems As IEnumerable(Of Object) _ )
Dim action As DataSourceChangedAction Dim newItems As IEnumerable(Of Object) Dim oldItems As IEnumerable(Of Object) Dim instance As New DataSourceChangedEventArgs(action, newItems, oldItems)
public DataSourceChangedEventArgs( DataSourceChangedAction action, IEnumerable<object> newItems, IEnumerable<object> oldItems )
Exception | Description |
---|---|
System.ArgumentException | newItems must be specified when the Add action is specified. |
System.ArgumentException | oldItems must be specified when the Remove action is specified. |
System.ArgumentException | newItems must be specified when the Replace action is specified. |
System.ArgumentException | oldItems must be specified when the Replace action is specified. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2