編輯

共用方式為


CFRunLoop.ContainsSource(CFRunLoopSource, NSString) Method

Definition

Determines whether the run loop contains the specified CFRunLoopSource on a specific mode.

public bool ContainsSource (CoreFoundation.CFRunLoopSource source, Foundation.NSString mode);
member this.ContainsSource : CoreFoundation.CFRunLoopSource * Foundation.NSString -> bool

Parameters

source
CFRunLoopSource

The source to probe.

mode
NSString

The mode to probe into.

Returns

true if the runloop contains the specified source in the specified mode.

Remarks

Applies to