NSObject.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
| RemoveObserver(NSObject, NSString) | |
| RemoveObserver(NSObject, String) | |
| RemoveObserver(NSObject, NSString, IntPtr) | |
| RemoveObserver(NSObject, String, IntPtr) |
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