Udostępnij za pośrednictwem


NotifyCollectionChangedEventHandler Delegate

Definition

Represents the method that will handle the CollectionChanged event.

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

/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3390092156, 62338, 17809, 133, 87, 94, 36, 150, 82, 121, 176)]
class NotifyCollectionChangedEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(3390092156, 62338, 17809, 133, 87, 94, 36, 150, 82, 121, 176)]
public delegate void NotifyCollectionChangedEventHandler(object sender, NotifyCollectionChangedEventArgs e);
Public Delegate Sub NotifyCollectionChangedEventHandler(sender As Object, e As NotifyCollectionChangedEventArgs)

Parameters

sender
Object

IInspectable

The object where the handler is attached.

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 delegate is hidden and developers should use the System.Collections.Specialized.NotifyCollectionChangedEventHandler delegate.

Applies to

See also