Delen via


BindableVectorChangedEventHandler Delegate

Definition

Represents the method that will handle the VectorChanged event.

public delegate void BindableVectorChangedEventHandler(IBindableObservableVector ^ vector, Platform::Object ^ e);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1649202401, 53255, 17329, 156, 3, 175, 77, 62, 98, 88, 196)]
class BindableVectorChangedEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(1649202401, 53255, 17329, 156, 3, 175, 77, 62, 98, 88, 196)]
public delegate void BindableVectorChangedEventHandler(IBindableObservableVector vector, object e);
Public Delegate Sub BindableVectorChangedEventHandler(vector As IBindableObservableVector, e As Object)

Parameters

vector
IBindableObservableVector

The object where the handler is attached.

e
Object

Platform::Object

IInspectable

Event data, loosely typed.

Attributes

Windows requirements

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

Remarks

Analogous to the VectorChangedEventHandler<T> delegate. Although the parameter e is of type Object, you can cast it to type IVectorChangedEventArgs.

This delegate supports the creation of data bindable collections in C++. When programming with .NET, you should use ObservableCollection(Of T) or implement IList and INotifyCollectionChanged. For more info, see Binding to collections.

Applies to

See also