IVectorChangedEventArgs Interface

Definition

Provides data for the changed event of a vector.

public interface class IVectorChangedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.FoundationContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1465463775, 13566, 17536, 175, 21, 7, 105, 31, 61, 93, 155)]
struct IVectorChangedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.FoundationContract), 65536)]
[Windows.Foundation.Metadata.Guid(1465463775, 13566, 17536, 175, 21, 7, 105, 31, 61, 93, 155)]
public interface IVectorChangedEventArgs
Public Interface IVectorChangedEventArgs
Attributes

Windows requirements

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

Remarks

IVectorChangedEventArgs is specifically used for the VectorChanged event of the IObservableVector interface, via the VectorChangedEventHandler delegate.

.NET developers can get instances of this interface via handling the VectorChanged event from an IObservableVector instance. Even though the remainder of the collection support for IObservableVector uses language projections that change IVector APIs to IList<T> APIs, the VectorChanged event, its delegates and its event data aren't changed by the projection and so "Vector" (as opposed to "List") remains in the API names.

Properties

CollectionChange

Gets the type of change that occurred in the vector.

Index

Gets the position where the change occurred in the vector.

Applies to

See also