Επεξεργασία

Κοινή χρήση μέσω


ListCollectionView.OnBeginChangeLogging Method

Definition

Caution

Replaced by OnAllowsCrossThreadChangesChanged

Called by the base class to notify the derived class that a CollectionChanged event has been posted to the message queue.

protected:
 override void OnBeginChangeLogging(System::Collections::Specialized::NotifyCollectionChangedEventArgs ^ args);
protected override void OnBeginChangeLogging (System.Collections.Specialized.NotifyCollectionChangedEventArgs args);
[System.Obsolete("Replaced by OnAllowsCrossThreadChangesChanged")]
protected override void OnBeginChangeLogging (System.Collections.Specialized.NotifyCollectionChangedEventArgs args);
override this.OnBeginChangeLogging : System.Collections.Specialized.NotifyCollectionChangedEventArgs -> unit
[<System.Obsolete("Replaced by OnAllowsCrossThreadChangesChanged")>]
override this.OnBeginChangeLogging : System.Collections.Specialized.NotifyCollectionChangedEventArgs -> unit
Protected Overrides Sub OnBeginChangeLogging (args As NotifyCollectionChangedEventArgs)

Parameters

args
NotifyCollectionChangedEventArgs

The NotifyCollectionChangedEventArgs object that is added to the change log.

Attributes

Exceptions

If args is null.

Remarks

The purpose of this notification is to allow collection views to take a snapshot of the information, which is often the state of the data collection, that is needed at the time of the post.

Applies to