In This Topic
Adds the specified listener to the list of listeners on the specified source.
Syntax
'Declaration
Public Shared Sub AddListener( _
ByVal As System.ComponentModel.INotifyPropertyChanged, _
ByVal As IWeakEventListener, _
ByVal As System.String _
)
public static void AddListener(
System.ComponentModel.INotifyPropertyChanged ,
IWeakEventListener ,
System.string
)
Parameters
- source
- The object with the event.
- listener
- The object to add as a listener.
- propertyName
- The name of the property that exists on source upon which to listen for changes.
See Also