NSNotification.FromName Méthode

Définition

Surcharges

FromName(String, NSObject)

Crée un NSNotification avec un nom et une charge utile d’objet.

FromName(String, NSObject, NSDictionary)

Crée un NSNotification avec un nom, un objet et une charge utile de dictionnaire.

FromName(String, NSObject)

Crée un NSNotification avec un nom et une charge utile d’objet.

[Foundation.Export("notificationWithName:object:")]
public static Foundation.NSNotification FromName (string name, Foundation.NSObject obj);
static member FromName : string * Foundation.NSObject -> Foundation.NSNotification

Paramètres

name
String

Nom de la notification.

obj
NSObject

Données d’objet à transporter.

Ce paramètre peut être null.

Retours

Attributs

S’applique à

FromName(String, NSObject, NSDictionary)

Crée un NSNotification avec un nom, un objet et une charge utile de dictionnaire.

[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

Paramètres

name
String

Nom de la notification.

obj
NSObject

Données d’objet à transporter.

Ce paramètre peut être null.

userInfo
NSDictionary

Dictionnaire avec des informations supplémentaires.

Ce paramètre peut être null.

Retours

Attributs

S’applique à