PropertyChangedEventManager.Purge(Object, Object, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.