IObservableVector<T> interface

Applies to Windows and Windows Phone

Notifies listeners of changes to the vector.

Syntax


generic<typename T>
public interface class IObservableVector : IVector<T>, 
    IIterable<T>

Attributes

[Version(0x06020000)]

Type parameters

T

The type of the values in the vector.

Members

The IObservableVector interface has these types of members:

Events

The IObservableVector interface has these events.

EventDescription
VectorChanged Occurs when the vector changes.

 

Remarks

The IObservableVector<T> interface enables clients to register for notification events for IVector<T> objects. For example, use notification events when you need to keep two data structures synchronized. In this scenario, you can use the IObservableVector<T> interface to receive notification of changes, so that the associated data structure can be updated.

Interface inheritance

IObservableVector inherits IVector and IIterable. Types that implement IObservableMap also implement the interface members of IVector and IIterable.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Foundation.Collections
Windows::Foundation::Collections [C++]

Metadata

Windows.winmd

See also

Collections (C++/CX)

 

 

Show:
© 2014 Microsoft