共用方式為


IObservableVector<T> interface

Notifies event handlers of changes to the vector.

Template parameters

  • T
    The type of the values in the vector.

Members

The IObservableVector<T> interface inherits from IInspectable. IObservableVector also has these types of members:

  • Methods

Methods

The IObservableVector<T> interface has these methods.

Method Description
add_VectorChanged

Adds an event handler for the VectorChanged event.

remove_VectorChanged

Removes the specified event handler for the VectorChanged event.

 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Windows.Foundation.Collections.h