Piccolo.NET

PNotificationCenter.RemoveListener Method (Object, String, Object)

Unregisters the listener from recieving notifications matching notificationName and object.

public virtual void RemoveListener(
   object listener,
   string notificationName,
   object obj
);

Parameters

listener
The listener to unregister, or null.
notificationName
The name of notifications the listener would like to be unregistered from recieving.
obj
The object for which the listener would like to be unregistered from recieving associated notifications.

Remarks

If the listener is null, all listeners matching notificationName and object are unregistered. If notificationName is null, the listener will be unregistered from all notifications containing the object. If the object is null, the listener will be unregistered from all notifications matching notficationName.

See Also

PNotificationCenter Class | UMD.HCIL.PiccoloX.Events Namespace | PNotificationCenter.RemoveListener Overload List