INotifyCollectionChanged Interface
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Fournit une interface de modèle modifiée par collection pour les classes pouvant être liées C++.
.NET Cette interface s’affiche sous la forme System.Collections.Specialized.INotifyCollectionChanged.
public interface class INotifyCollectionChanged
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1392596449, 10405, 22163, 135, 206, 48, 114, 77, 149, 160, 109)]
struct INotifyCollectionChanged
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.Guid(1392596449, 10405, 22163, 135, 206, 48, 114, 77, 149, 160, 109)]
public interface INotifyCollectionChanged
Public Interface INotifyCollectionChanged
- Dérivé
- Attributs
Remarques
Lors de la programmation avec .NET, cette interface est masquée et les développeurs doivent utiliser l’interface System.Collections.Specialized.INotifyCollectionChanged.
Événements
| Nom | Description |
|---|---|
| CollectionChanged |
Se produit lorsque la collection change. |