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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.