Upravit

Sdílet prostřednictvím


NSNotification.FromName Method

Definition

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.

obj
NSObject

Object data to carry.

This parameter can be null.

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.

obj
NSObject

Object data to carry.

This parameter can be null.

userInfo
NSDictionary

Dictionary with extra information.

This parameter can be null.

Returns

Attributes

Applies to