Share via


NSObject.RemoveObserver Method

Definition

Overloads

RemoveObserver(NSObject, NSString)

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

Parameters

observer
NSObject
keyPath
NSString
Attributes

Applies to

RemoveObserver(NSObject, String)

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public void RemoveObserver(Foundation.NSObject observer, string keyPath);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.RemoveObserver : Foundation.NSObject * string -> unit

Parameters

observer
NSObject
keyPath
String
Attributes

Applies to

RemoveObserver(NSObject, NSString, IntPtr)

[Foundation.Export("removeObserver:forKeyPath:context:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void RemoveObserver(Foundation.NSObject observer, Foundation.NSString keyPath, IntPtr context);
[<Foundation.Export("removeObserver:forKeyPath:context:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member RemoveObserver : Foundation.NSObject * Foundation.NSString * nativeint -> unit
override this.RemoveObserver : Foundation.NSObject * Foundation.NSString * nativeint -> unit

Parameters

observer
NSObject
keyPath
NSString
context
IntPtr

nativeint

Attributes

Applies to

RemoveObserver(NSObject, String, IntPtr)

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public void RemoveObserver(Foundation.NSObject observer, string keyPath, IntPtr context);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.RemoveObserver : Foundation.NSObject * string * nativeint -> unit

Parameters

observer
NSObject
keyPath
String
context
IntPtr

nativeint

Attributes

Applies to