PropertyChangedEventManager.RemoveListener Method (INotifyPropertyChanged, IWeakEventListener, String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Removes the specified listener from the list of listeners on the provided source.

Namespace:   System.ComponentModel
Assembly:  WindowsBase (in WindowsBase.dll)

static member RemoveListener : 
        source:INotifyPropertyChanged *
        listener:IWeakEventListener *
        propertyName:string -> unit

Parameters

source
Type: System.ComponentModel.INotifyPropertyChanged

The object to remove the listener from.

listener
Type: System.Windows.IWeakEventListener

The listener to remove.

propertyName
Type: System.String

The name of the property that exists on source upon which to stop listening for changes. Set to Empty to indicate "any property".

.NET Framework
Available since 3.0
Return to top
Show: