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
属性

适用于