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
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.