NSRunLoop.AddTimer 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.
Overloads
| Name | Description |
|---|---|
| AddTimer(NSTimer, NSRunLoopMode) | |
| AddTimer(NSTimer, NSString) |
AddTimer(NSTimer, NSRunLoopMode)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public void AddTimer(Foundation.NSTimer timer, Foundation.NSRunLoopMode forMode);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.AddTimer : Foundation.NSTimer * Foundation.NSRunLoopMode -> unit
Parameters
- timer
- NSTimer
- forMode
- NSRunLoopMode
The runloop to insert this into.
- Attributes
Applies to
AddTimer(NSTimer, NSString)
[Foundation.Export("addTimer:forMode:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void AddTimer(Foundation.NSTimer timer, Foundation.NSString forMode);
[<Foundation.Export("addTimer:forMode:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member AddTimer : Foundation.NSTimer * Foundation.NSString -> unit
override this.AddTimer : Foundation.NSTimer * Foundation.NSString -> unit
Parameters
- timer
- NSTimer
- forMode
- NSString
- Attributes