NSDistributedNotificationCenter.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, String)
[Foundation.Export("postNotificationName:object:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void PostNotificationName(string aName, string? anObject);
[<Foundation.Export("postNotificationName:object:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
override this.PostNotificationName : string * string -> unit
Parameters
- aName
- String
- anObject
- String
- Attributes
Applies to
PostNotificationName(String, String, NSDictionary)
[Foundation.Export("postNotificationName:object:userInfo:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void PostNotificationName(string aName, string? anObject, Foundation.NSDictionary? aUserInfo);
[<Foundation.Export("postNotificationName:object:userInfo:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
override this.PostNotificationName : string * string * Foundation.NSDictionary -> unit
Parameters
- aName
- String
- anObject
- String
- aUserInfo
- NSDictionary
- Attributes
Applies to
PostNotificationName(String, String, NSDictionary, NSNotificationFlags)
[Foundation.Export("postNotificationName:object:userInfo:options:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void PostNotificationName(string name, string? anObjecb, Foundation.NSDictionary? userInfo, Foundation.NSNotificationFlags options);
[<Foundation.Export("postNotificationName:object:userInfo:options:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
override this.PostNotificationName : string * string * Foundation.NSDictionary * Foundation.NSNotificationFlags -> unit
Parameters
- name
- String
- anObjecb
- String
- userInfo
- NSDictionary
- options
- NSNotificationFlags
- Attributes
Applies to
PostNotificationName(String, String, NSDictionary, Boolean)
[Foundation.Export("postNotificationName:object:userInfo:deliverImmediately:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void PostNotificationName(string name, string? anObject, Foundation.NSDictionary? userInfo, bool deliverImmediately);
[<Foundation.Export("postNotificationName:object:userInfo:deliverImmediately:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
override this.PostNotificationName : string * string * Foundation.NSDictionary * bool -> unit
Parameters
- name
- String
- anObject
- String
- userInfo
- NSDictionary
- deliverImmediately
- Boolean
- Attributes