NSNotificationCenter.RemoveObservers(IEnumerable<NSObject>) 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.
Removes multiple observers in one call.
public void RemoveObservers(System.Collections.Generic.IEnumerable<Foundation.NSObject> keys);
public void RemoveObservers(System.Collections.Generic.IEnumerable<Foundation.NSObject>? keys);
member this.RemoveObservers : seq<Foundation.NSObject> -> unit
Parameters
- keys
- IEnumerable<NSObject>
The collection of observer tokens to remove.
Remarks
This removes all of the observers in the IEnumerable<T> parameter.