MonobjcMonobjc Documented Class Library
AcceptInputForModeBeforeDate Method (mode, limitDate)
NamespacesMonobjc.FoundationNSRunLoopAcceptInputForModeBeforeDate(NSString, NSDate)

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

Original signature is '- (void)acceptInputForMode:(NSString *)mode beforeDate:(NSDate *)limitDate'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void AcceptInputForModeBeforeDate(
	NSString mode,
	NSDate limitDate
)
Public Overridable Sub AcceptInputForModeBeforeDate ( _
	mode As NSString, _
	limitDate As NSDate _
)
public:
virtual void AcceptInputForModeBeforeDate(
	NSString^ mode, 
	NSDate^ limitDate
)
Parameters
mode (NSString)
The mode in which to run. You may specify custom modes or use one of the modes listed in “Run Loop Modes.”
limitDate (NSDate)
The date up until which to run.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)