MonobjcMonobjc Documented Class Library
NotificationWithNameObject Method (aName, anObject)
NamespacesMonobjc.FoundationNSNotificationNotificationWithNameObject(NSString, Id)

Returns a new notification object with a specified name and object.

Original signature is '+ (id)notificationWithName:(NSString *)aName object:(id)anObject'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSNotification NotificationWithNameObject(
	NSString aName,
	Id anObject
)
Public Shared Function NotificationWithNameObject ( _
	aName As NSString, _
	anObject As Id _
) As NSNotification
public:
static NSNotification^ NotificationWithNameObject(
	NSString^ aName, 
	Id^ anObject
)
Parameters
aName (NSString)
The name for the new notification. May not be nil.
anObject (Id)
The object for the new notification.
Return Value

[Missing <returns> documentation for "M:Monobjc.Foundation.NSNotification.NotificationWithNameObject(Monobjc.Foundation.NSString,Monobjc.Id)"]

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)