共用方式為


INSObjectProtocol.PerformSelector 方法

定義

多載

PerformSelector(Selector)
PerformSelector(Selector, NSObject)
PerformSelector(Selector, NSObject, NSObject)

PerformSelector(Selector)

[Foundation.Export("performSelector:")]
[Foundation.Preserve(Conditional=true)]
public Foundation.NSObject PerformSelector (ObjCRuntime.Selector aSelector);
abstract member PerformSelector : ObjCRuntime.Selector -> Foundation.NSObject

參數

aSelector
Selector

傳回

屬性

適用於

PerformSelector(Selector, NSObject)

[Foundation.Export("performSelector:withObject:")]
[Foundation.Preserve(Conditional=true)]
public Foundation.NSObject PerformSelector (ObjCRuntime.Selector aSelector, Foundation.NSObject anObject);
abstract member PerformSelector : ObjCRuntime.Selector * Foundation.NSObject -> Foundation.NSObject

參數

aSelector
Selector
anObject
NSObject

傳回

屬性

適用於

PerformSelector(Selector, NSObject, NSObject)

[Foundation.Export("performSelector:withObject:withObject:")]
[Foundation.Preserve(Conditional=true)]
public Foundation.NSObject PerformSelector (ObjCRuntime.Selector aSelector, Foundation.NSObject object1, Foundation.NSObject object2);
abstract member PerformSelector : ObjCRuntime.Selector * Foundation.NSObject * Foundation.NSObject -> Foundation.NSObject

參數

aSelector
Selector
object1
NSObject
object2
NSObject

傳回

屬性

適用於