NSNotificationCenter.RemoveObserver 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
| Name | Description |
|---|---|
| RemoveObserver(NSObject) | |
| RemoveObserver(NSObject, String, NSObject) |
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