VectorChangedEventHandler<T> VectorChangedEventHandler<T> VectorChangedEventHandler<T> VectorChangedEventHandler<T> VectorChangedEventHandler<T> Delegate

Definition

Represents the method that handles the changed event of an observable vector.

public : delegate void VectorChangedEventHandler<T>(IObservableVector<T> sender, IVectorChangedEventArgs event)
struct VectorChangedEventHandler<T> : winrt::Windows::Foundation::IUnknown
{
   VectorChangedEventHandler(std::nullptr_t = nullptr) noexcept;
   template <typename L> VectorChangedEventHandler(L lambda);
   template <typename F> VectorChangedEventHandler(F* function);
   template <typename O, typename M> VectorChangedEventHandler(O* object, M method);
   void operator()(winrt::Windows::Foundation::Collections::IObservableVector<T> const& sender, winrt::Windows::Foundation::Collections::IVectorChangedEventArgs const& event) const;
};
public delegate void VectorChangedEventHandler<T>(IObservableVector<T> sender, IVectorChangedEventArgs event)
Public Delegate Sub VectorChangedEventHandler(Of T)(sender As IObservableVector(Of T), event As IVectorChangedEventArgs)
var vectorChangedEventHandler = function(sender, event) {

 /* Your code */

}

Parameters

sender
IObservableVector<T> IObservableVector<T> IObservableVector<T>

The observable vector that changed.

event
IVectorChangedEventArgs IVectorChangedEventArgs IVectorChangedEventArgs

The description of the change that occurred in the vector.

Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (introduced v1)

Remarks

This delegate is used by the IObservableVector.VectorChanged event.

See also