NotifyCollectionChangedEventArgsExtensions.Apply Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| Apply(NotifyCollectionChangedEventArgs, Action<Object,Int32,Boolean>, Action<Object,Int32>, Action) |
Applies collection changes using the provided insert, remove, and reset callbacks. |
| Apply<TFrom>(NotifyCollectionChangedEventArgs, IList<TFrom>, IList<Object>) |
Applies collection changes from source to target list. |
Apply(NotifyCollectionChangedEventArgs, Action<Object,Int32,Boolean>, Action<Object,Int32>, Action)
Applies collection changes using the provided insert, remove, and reset callbacks.
public:
[System::Runtime::CompilerServices::Extension]
static System::Collections::Specialized::NotifyCollectionChangedAction Apply(System::Collections::Specialized::NotifyCollectionChangedEventArgs ^ self, Action<System::Object ^, int, bool> ^ insert, Action<System::Object ^, int> ^ removeAt, Action ^ reset);
public static System.Collections.Specialized.NotifyCollectionChangedAction Apply(this System.Collections.Specialized.NotifyCollectionChangedEventArgs self, Action<object,int,bool> insert, Action<object,int> removeAt, Action reset);
static member Apply : System.Collections.Specialized.NotifyCollectionChangedEventArgs * Action<obj, int, bool> * Action<obj, int> * Action -> System.Collections.Specialized.NotifyCollectionChangedAction
<Extension()>
Public Function Apply (self As NotifyCollectionChangedEventArgs, insert As Action(Of Object, Integer, Boolean), removeAt As Action(Of Object, Integer), reset As Action) As NotifyCollectionChangedAction
Parameters
For internal use by the Microsoft.Maui.Controls platform.
- reset
- Action
For internal use by the Microsoft.Maui.Controls platform.
Returns
For internal use by the Microsoft.Maui.Controls platform.
Applies to
Apply<TFrom>(NotifyCollectionChangedEventArgs, IList<TFrom>, IList<Object>)
Applies collection changes from source to target list.
public:
generic <typename TFrom>
[System::Runtime::CompilerServices::Extension]
static void Apply(System::Collections::Specialized::NotifyCollectionChangedEventArgs ^ self, System::Collections::Generic::IList<TFrom> ^ from, System::Collections::Generic::IList<System::Object ^> ^ to);
public static void Apply<TFrom>(this System.Collections.Specialized.NotifyCollectionChangedEventArgs self, System.Collections.Generic.IList<TFrom> from, System.Collections.Generic.IList<object> to);
static member Apply : System.Collections.Specialized.NotifyCollectionChangedEventArgs * System.Collections.Generic.IList<'From> * System.Collections.Generic.IList<obj> -> unit
<Extension()>
Public Sub Apply(Of TFrom) (self As NotifyCollectionChangedEventArgs, from As IList(Of TFrom), to As IList(Of Object))
Type Parameters
- TFrom
For internal use by the Microsoft.Maui.Controls platform.
Parameters
For internal use by the Microsoft.Maui.Controls platform.
- from
- IList<TFrom>
For internal use by the Microsoft.Maui.Controls platform.