Jaa


IBindableObservableVector.VectorChanged Event

Definition

Occurs when the vector collection changes (add, delete, item change).

public:
 event BindableVectorChangedEventHandler ^ VectorChanged;
// Register
event_token VectorChanged(BindableVectorChangedEventHandler const& handler) const;

// Revoke with event_token
void VectorChanged(event_token const* cookie) const;

// Revoke with event_revoker
IBindableObservableVector::VectorChanged_revoker VectorChanged(auto_revoke_t, BindableVectorChangedEventHandler const& handler) const;
event BindableVectorChangedEventHandler VectorChanged;
function onVectorChanged(eventArgs) { /* Your code */ }
iBindableObservableVector.addEventListener("vectorchanged", onVectorChanged);
iBindableObservableVector.removeEventListener("vectorchanged", onVectorChanged);
- or -
iBindableObservableVector.onvectorchanged = onVectorChanged;
Event VectorChanged As BindableVectorChangedEventHandler 

Event Type

Remarks

This interface supports the creation of data bindable collections in C++. When programming with .NET, you should use ObservableCollection(Of T) or implement IList and INotifyCollectionChanged.

Applies to

See also