CFRunLoop.AddSource(CFRunLoopSource, NSString) 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.
Adds a new source to the run loop on the specified mode.
public void AddSource (CoreFoundation.CFRunLoopSource source, Foundation.NSString mode);
member this.AddSource : CoreFoundation.CFRunLoopSource * Foundation.NSString -> unit
Parameters
- source
- CFRunLoopSource
Source to be added.
- mode
- NSString
The mode to add the source to. If you use P:CoreFoundation.CFRunLoop.CommonModes the source is added to all common modes.