Edytuj

Udostępnij za pośrednictwem


NSNotificationCenter.PostNotificationName Method

Definition

Overloads

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

Parameters

aName
String
anObject
NSObject

The reference object posting this notification, can be null.

This parameter can be null.

Attributes

Applies to

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

Parameters

aName
String
anObject
NSObject

The reference object posting this notification, can be null.

This parameter can be null.

aUserInfo
NSDictionary

To be added.

This parameter can be null.

Attributes

Applies to