MonobjcMonobjc Documented Class Library
RemoveObserverNameObject Method (notificationObserver, notificationName, notificationSender)
NamespacesMonobjc.FoundationNSNotificationCenterRemoveObserverNameObject(Id, NSString, Id)

Removes matching entries from the receiver’s dispatch table.

Original signature is '- (void)removeObserver:(id)notificationObserver name:(NSString *)notificationName object:(id)notificationSender'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void RemoveObserverNameObject(
	Id notificationObserver,
	NSString notificationName,
	Id notificationSender
)
Public Overridable Sub RemoveObserverNameObject ( _
	notificationObserver As Id, _
	notificationName As NSString, _
	notificationSender As Id _
)
public:
virtual void RemoveObserverNameObject(
	Id^ notificationObserver, 
	NSString^ notificationName, 
	Id^ notificationSender
)
Parameters
notificationObserver (Id)
Observer to remove from the dispatch table. Specify an observer to remove only entries for this observer. Must not be nil, or message will have no effect.
notificationName (NSString)
Name of the notification to remove from dispatch table. Specify a notification name to remove only entries that specify this notification name. When nil, the receiver does not use notification names as criteria for removal.
notificationSender (Id)
Sender to remove from the dispatch table. Specify a notification sender to remove only entries that specify this sender. When nil, the receiver does not use notification senders as criteria for removal.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)