Share via


NSNotificationCenter.RemoveObserver Method

Definition

Overloads

RemoveObserver(NSObject)

[Foundation.Export("removeObserver:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void RemoveObserver(Foundation.NSObject observer);
[<Foundation.Export("removeObserver:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
override this.RemoveObserver : Foundation.NSObject -> unit

Parameters

observer
NSObject
Attributes

Applies to

RemoveObserver(NSObject, String, NSObject)

[Foundation.Export("removeObserver:name:object:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void RemoveObserver(Foundation.NSObject observer, string? aName, Foundation.NSObject? anObject);
[<Foundation.Export("removeObserver:name:object:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
override this.RemoveObserver : Foundation.NSObject * string * Foundation.NSObject -> unit

Parameters

observer
NSObject
aName
String
anObject
NSObject
Attributes

Applies to