Sdílet prostřednictvím


VectorChangedEventHandler<T> Delegate

Definition

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

public delegate void VectorChangedEventHandler(IObservableVector<T> ^ sender, IVectorChangedEventArgs ^ event);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.FoundationContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(201660242, 40895, 19568, 170, 12, 14, 76, 130, 217, 167, 97)]
template <typename T>
class VectorChangedEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.FoundationContract), 65536)]
[Windows.Foundation.Metadata.Guid(201660242, 40895, 19568, 170, 12, 14, 76, 130, 217, 167, 97)]
public delegate void VectorChangedEventHandler<T>(IObservableVector<T> sender, IVectorChangedEventArgs event);
Public Delegate Sub VectorChangedEventHandler(Of T)(sender As IObservableVector(Of T), event As IVectorChangedEventArgs)

Type Parameters

T

Parameters

sender
IObservableVector<T>

The observable vector that changed.

event
IVectorChangedEventArgs

The description of the change that occurred in the vector.

Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (introduced in v1.0)

Remarks

This delegate is used by the IObservableVector.VectorChanged event.

Applies to

See also