Edit

Share via


CFRunLoop.RemoveSource(CFRunLoopSource, NSString) Method

Definition

Removes a source from the runloop.

public void RemoveSource (CoreFoundation.CFRunLoopSource source, Foundation.NSString mode);
member this.RemoveSource : CoreFoundation.CFRunLoopSource * Foundation.NSString -> unit

Parameters

source
CFRunLoopSource

Run loop source to remove

mode
NSString

The mode to remove it from.  If you use P:CoreFoundation.CFRunLoop.CommonModes the source is removed from all common modes.

Remarks

Applies to