NSDistributedNotificationCenter.PostNotificationName 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
PostNotificationName(String, String)
PostNotificationName(String, String, NSDictionary)
[Foundation.Export("postNotificationName:object:userInfo:")]
public virtual void PostNotificationName (string aName, string anObject, Foundation.NSDictionary aUserInfo);
override this.PostNotificationName : string * string * Foundation.NSDictionary -> unit
參數
- aName
- String
- anObject
- String
- aUserInfo
- NSDictionary
- 屬性
適用於
PostNotificationName(String, String, NSDictionary, NSNotificationFlags)
[Foundation.Export("postNotificationName:object:userInfo:options:")]
public virtual void PostNotificationName (string name, string anObjecb, Foundation.NSDictionary userInfo, Foundation.NSNotificationFlags options);
override this.PostNotificationName : string * string * Foundation.NSDictionary * Foundation.NSNotificationFlags -> unit
參數
- name
- String
- anObjecb
- String
- userInfo
- NSDictionary
- options
- NSNotificationFlags
- 屬性
適用於
PostNotificationName(String, String, NSDictionary, Boolean)
[Foundation.Export("postNotificationName:object:userInfo:deliverImmediately:")]
public virtual void PostNotificationName (string name, string anObject, Foundation.NSDictionary userInfo, bool deliverImmediately);
override this.PostNotificationName : string * string * Foundation.NSDictionary * bool -> unit
參數
- name
- String
- anObject
- String
- userInfo
- NSDictionary
- deliverImmediately
- Boolean
- 屬性