MonobjcMonobjc Documented Class Library
InitWithNotificationCenter Method (notificationCenter)
NamespacesMonobjc.FoundationNSNotificationQueueInitWithNotificationCenter(NSNotificationCenter)

Initializes and returns a notification queue for the specified notification center.

Original signature is '- (id)initWithNotificationCenter:(NSNotificationCenter *)notificationCenter'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitWithNotificationCenter(
	NSNotificationCenter notificationCenter
)
Public Overridable Function InitWithNotificationCenter ( _
	notificationCenter As NSNotificationCenter _
) As Id
public:
virtual Id^ InitWithNotificationCenter(
	NSNotificationCenter^ notificationCenter
)
Parameters
notificationCenter (NSNotificationCenter)
The notification center used by the new notification queue.
Return Value
The newly initialized notification queue.
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)