NSNotificationCenter.PostNotificationName 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
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
.
- Attributes