MonobjcMonobjc Documented Class Library
AddTimerForMode Method (aTimer, mode)
NamespacesMonobjc.FoundationNSRunLoopAddTimerForMode(NSTimer, NSString)

Registers a given timer with a given input mode.

Original signature is '- (void)addTimer:(NSTimer *)aTimer forMode:(NSString *)mode'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void AddTimerForMode(
	NSTimer aTimer,
	NSString mode
)
Public Overridable Sub AddTimerForMode ( _
	aTimer As NSTimer, _
	mode As NSString _
)
public:
virtual void AddTimerForMode(
	NSTimer^ aTimer, 
	NSString^ mode
)
Parameters
aTimer (NSTimer)
The timer to register with the receiver.
mode (NSString)
The mode in which to add aTimer. You may specify a custom mode or use one of the modes listed in “Run Loop Modes.”
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)