NSNotification.FromName Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
FromName(String, NSObject) |
Creates a new NSNotification with a name and an object payload. |
FromName(String, NSObject, NSDictionary) |
Creates a new NSNotification with a name, an object and a dictionary payload. |
FromName(String, NSObject)
Creates a new NSNotification with a name and an object payload.
[Foundation.Export("notificationWithName:object:")]
public static Foundation.NSNotification FromName (string name, Foundation.NSObject obj);
static member FromName : string * Foundation.NSObject -> Foundation.NSNotification
Parameters
- name
- String
Name for the notification.
Returns
- Attributes
Applies to
FromName(String, NSObject, NSDictionary)
Creates a new NSNotification with a name, an object and a dictionary payload.
[Foundation.Export("notificationWithName:object:userInfo:")]
public static Foundation.NSNotification FromName (string name, Foundation.NSObject obj, Foundation.NSDictionary userInfo);
static member FromName : string * Foundation.NSObject * Foundation.NSDictionary -> Foundation.NSNotification
Parameters
- name
- String
Name for the notification.
Returns
- Attributes