NSKeyValueSharedObservers.AddSharedObserver 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.
[Foundation.Export("addSharedObserver:forKey:options:context:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void AddSharedObserver(Foundation.NSObject observer, string forKey, Foundation.NSKeyValueObservingOptions options, IntPtr context);
[<Foundation.Export("addSharedObserver:forKey:options:context:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member AddSharedObserver : Foundation.NSObject * string * Foundation.NSKeyValueObservingOptions * nativeint -> unit
override this.AddSharedObserver : Foundation.NSObject * string * Foundation.NSKeyValueObservingOptions * nativeint -> unit
Parameters
- observer
- NSObject
- forKey
- String
- options
- NSKeyValueObservingOptions
- context
-
IntPtr
nativeint
- Attributes