PropertyChangedEventManager.Purge(Object, Object, Boolean) Method

Definition

Removes listeners that are no longer active from the data for the provided source.

protected:
 override bool Purge(System::Object ^ source, System::Object ^ data, bool purgeAll);
protected override bool Purge (object source, object data, bool purgeAll);
override this.Purge : obj * obj * bool -> bool
Protected Overrides Function Purge (source As Object, data As Object, purgeAll As Boolean) As Boolean

Parameters

source
Object

Source object to remove all listeners from.

data
Object

The data to purge. This is expected to be a HybridDictionary.

purgeAll
Boolean

Set to true to stop listening and to completely remove all data.

Returns

true if some entries were removed; otherwise, false.

Applies to

See also