NSGestureRecognizer 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
NSGestureRecognizer()
NSGestureRecognizer(NSCoder)
[Foundation.Export("initWithCoder:")]
[ObjCRuntime.DesignatedInitializer]
public NSGestureRecognizer (Foundation.NSCoder coder);
new AppKit.NSGestureRecognizer : Foundation.NSCoder -> AppKit.NSGestureRecognizer
參數
- coder
- NSCoder
- 屬性
適用於
NSGestureRecognizer(NSObjectFlag)
protected NSGestureRecognizer (Foundation.NSObjectFlag t);
new AppKit.NSGestureRecognizer : Foundation.NSObjectFlag -> AppKit.NSGestureRecognizer
參數
適用於
NSGestureRecognizer(Action)
public NSGestureRecognizer (Action action);
new AppKit.NSGestureRecognizer : Action -> AppKit.NSGestureRecognizer
參數
- action
- Action
適用於
NSGestureRecognizer(IntPtr)
protected internal NSGestureRecognizer (IntPtr handle);
new AppKit.NSGestureRecognizer : nativeint -> AppKit.NSGestureRecognizer
參數
- handle
-
IntPtr
nativeint
適用於
NSGestureRecognizer(NSObject, Selector)
[Foundation.Export("initWithTarget:action:")]
[ObjCRuntime.DesignatedInitializer]
public NSGestureRecognizer (Foundation.NSObject target, ObjCRuntime.Selector action);
new AppKit.NSGestureRecognizer : Foundation.NSObject * ObjCRuntime.Selector -> AppKit.NSGestureRecognizer
參數
- target
- NSObject
- action
- Selector
- 屬性
適用於
NSGestureRecognizer(Selector, NSGestureRecognizer+Token)
public NSGestureRecognizer (ObjCRuntime.Selector sel, AppKit.NSGestureRecognizer.Token token);
new AppKit.NSGestureRecognizer : ObjCRuntime.Selector * AppKit.NSGestureRecognizer.Token -> AppKit.NSGestureRecognizer
參數
- sel
- Selector