NSNotificationCenter.PostNotificationName Método

Definición

Sobrecargas

PostNotificationName(String, NSObject)
PostNotificationName(String, NSObject, NSDictionary)

PostNotificationName(String, NSObject)

[Foundation.Export("postNotificationName:object:")]
public virtual void PostNotificationName (string aName, Foundation.NSObject anObject);
abstract member PostNotificationName : string * Foundation.NSObject -> unit
override this.PostNotificationName : string * Foundation.NSObject -> unit

Parámetros

aName
String
anObject
NSObject

El objeto de referencia que publica esta notificación puede ser null.

Este parámetro puede ser null.

Atributos

Se aplica a

PostNotificationName(String, NSObject, NSDictionary)

[Foundation.Export("postNotificationName:object:userInfo:")]
public virtual void PostNotificationName (string aName, Foundation.NSObject anObject, Foundation.NSDictionary aUserInfo);
abstract member PostNotificationName : string * Foundation.NSObject * Foundation.NSDictionary -> unit
override this.PostNotificationName : string * Foundation.NSObject * Foundation.NSDictionary -> unit

Parámetros

aName
String
anObject
NSObject

El objeto de referencia que publica esta notificación puede ser null.

Este parámetro puede ser null.

aUserInfo
NSDictionary

Se agregará.

Este parámetro puede ser null.

Atributos

Se aplica a