Bewerken

Delen via


NSRunLoop.AcceptInputForMode Method

Definition

Overloads

AcceptInputForMode(NSRunLoopMode, NSDate)
AcceptInputForMode(NSString, NSDate)

Runs the loop once or until the specified date, accepint input only for the specified mode.

AcceptInputForMode(NSRunLoopMode, NSDate)

public void AcceptInputForMode (Foundation.NSRunLoopMode mode, Foundation.NSDate limitDate);
member this.AcceptInputForMode : Foundation.NSRunLoopMode * Foundation.NSDate -> unit

Parameters

limitDate
NSDate

Applies to

AcceptInputForMode(NSString, NSDate)

Runs the loop once or until the specified date, accepint input only for the specified mode.

[Foundation.Export("acceptInputForMode:beforeDate:")]
public virtual void AcceptInputForMode (Foundation.NSString mode, Foundation.NSDate limitDate);
abstract member AcceptInputForMode : Foundation.NSString * Foundation.NSDate -> unit
override this.AcceptInputForMode : Foundation.NSString * Foundation.NSDate -> unit

Parameters

mode
NSString

The event loop to poll. Use one of the "RunLoopMode" constants defined in this class.

limitDate
NSDate
Attributes

Applies to