INSObjectProtocol.PerformSelector 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
傳回
- 屬性