Udostępnij za pośrednictwem


INotifyCollectionChanged Interface

Definition

Provides a collection-changed pattern interface for C++ bindable classes.

.NET This interface appears as System.Collections.Specialized.INotifyCollectionChanged.

public interface class INotifyCollectionChanged
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(682715093, 6705, 18011, 155, 37, 213, 195, 174, 104, 108, 64)]
struct INotifyCollectionChanged
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(682715093, 6705, 18011, 155, 37, 213, 195, 174, 104, 108, 64)]
public interface INotifyCollectionChanged
Public Interface INotifyCollectionChanged
Attributes

Windows requirements

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

Remarks

When programming with .NET, this interface is hidden and developers should use the System.Collections.Specialized.INotifyCollectionChanged interface.

Events

CollectionChanged

Occurs when the collection changes.

Applies to

See also