共用方式為


NSDistributedNotificationCenter.RemoveObserver 方法

定義

多載

RemoveObserver(NSObject, String, NSObject)
RemoveObserver(NSObject, String, String)
已淘汰.

RemoveObserver(NSObject, String, NSObject)

[Foundation.Export("removeObserver:name:object:")]
public virtual void RemoveObserver (Foundation.NSObject observer, string aName, Foundation.NSObject anObject);
override this.RemoveObserver : Foundation.NSObject * string * Foundation.NSObject -> unit

參數

observer
NSObject
aName
String
anObject
NSObject
屬性

適用於

RemoveObserver(NSObject, String, String)

警告

This is not available in iOS.

[System.Obsolete("This is not available in iOS.")]
public void RemoveObserver (Foundation.NSObject observer, string aName, string anObject);
member this.RemoveObserver : Foundation.NSObject * string * string -> unit

參數

observer
NSObject
aName
String
anObject
String
屬性

適用於