Share via


NSObject.PerformSelector Method

Definition

Overloads

PerformSelector(Selector, NSThread, NSObject, Boolean)

[Foundation.Export("performSelector:onThread:withObject:waitUntilDone:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void PerformSelector(ObjCRuntime.Selector selector, Foundation.NSThread onThread, Foundation.NSObject? withObject, bool waitUntilDone);
[<Foundation.Export("performSelector:onThread:withObject:waitUntilDone:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member PerformSelector : ObjCRuntime.Selector * Foundation.NSThread * Foundation.NSObject * bool -> unit
override this.PerformSelector : ObjCRuntime.Selector * Foundation.NSThread * Foundation.NSObject * bool -> unit

Parameters

selector
Selector
onThread
NSThread
withObject
NSObject
waitUntilDone
Boolean
Attributes

Applies to

PerformSelector(Selector, NSObject, Double, NSString[])

[Foundation.Export("performSelector:withObject:afterDelay:inModes:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void PerformSelector(ObjCRuntime.Selector selector, Foundation.NSObject? withObject, double afterDelay, Foundation.NSString[] nsRunLoopModes);
[<Foundation.Export("performSelector:withObject:afterDelay:inModes:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member PerformSelector : ObjCRuntime.Selector * Foundation.NSObject * double * Foundation.NSString[] -> unit
override this.PerformSelector : ObjCRuntime.Selector * Foundation.NSObject * double * Foundation.NSString[] -> unit

Parameters

selector
Selector
withObject
NSObject
afterDelay
Double
nsRunLoopModes
NSString[]
Attributes

Applies to

PerformSelector(Selector, NSObject, Double)

[Foundation.Export("performSelector:withObject:afterDelay:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void PerformSelector(ObjCRuntime.Selector selector, Foundation.NSObject? withObject, double delay);
[<Foundation.Export("performSelector:withObject:afterDelay:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member PerformSelector : ObjCRuntime.Selector * Foundation.NSObject * double -> unit
override this.PerformSelector : ObjCRuntime.Selector * Foundation.NSObject * double -> unit

Parameters

selector
Selector
withObject
NSObject
delay
Double
Attributes

Applies to

PerformSelector(Selector, NSThread, NSObject, Boolean, NSString[])

[Foundation.Export("performSelector:onThread:withObject:waitUntilDone:modes:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void PerformSelector(ObjCRuntime.Selector selector, Foundation.NSThread onThread, Foundation.NSObject? withObject, bool waitUntilDone, Foundation.NSString[]? nsRunLoopModes);
[<Foundation.Export("performSelector:onThread:withObject:waitUntilDone:modes:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member PerformSelector : ObjCRuntime.Selector * Foundation.NSThread * Foundation.NSObject * bool * Foundation.NSString[] -> unit
override this.PerformSelector : ObjCRuntime.Selector * Foundation.NSThread * Foundation.NSObject * bool * Foundation.NSString[] -> unit

Parameters

selector
Selector
onThread
NSThread
withObject
NSObject
waitUntilDone
Boolean
nsRunLoopModes
NSString[]
Attributes

Applies to

PerformSelector(Selector, NSObject)

[Foundation.Export("performSelector:withObject:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSObject PerformSelector(ObjCRuntime.Selector aSelector, Foundation.NSObject? anObject);
[<Foundation.Export("performSelector:withObject:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member PerformSelector : ObjCRuntime.Selector * Foundation.NSObject -> Foundation.NSObject
override this.PerformSelector : ObjCRuntime.Selector * Foundation.NSObject -> Foundation.NSObject

Parameters

aSelector
Selector
anObject
NSObject

Returns

Implements

Attributes

Applies to

PerformSelector(Selector)

[Foundation.Export("performSelector:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSObject PerformSelector(ObjCRuntime.Selector aSelector);
[<Foundation.Export("performSelector:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member PerformSelector : ObjCRuntime.Selector -> Foundation.NSObject
override this.PerformSelector : ObjCRuntime.Selector -> Foundation.NSObject

Parameters

aSelector
Selector

Returns

Implements

Attributes

Applies to

PerformSelector(Selector, NSObject, NSObject)

[Foundation.Export("performSelector:withObject:withObject:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSObject PerformSelector(ObjCRuntime.Selector aSelector, Foundation.NSObject? object1, Foundation.NSObject? object2);
[<Foundation.Export("performSelector:withObject:withObject:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member PerformSelector : ObjCRuntime.Selector * Foundation.NSObject * Foundation.NSObject -> Foundation.NSObject
override this.PerformSelector : ObjCRuntime.Selector * Foundation.NSObject * Foundation.NSObject -> Foundation.NSObject

Parameters

aSelector
Selector
object1
NSObject
object2
NSObject

Returns

Implements

Attributes

Applies to