共用方式為


NSUndoManager.RegisterUndoWithTarget(NSObject, Selector, NSObject) 方法

定義

[Foundation.Export("registerUndoWithTarget:selector:object:")]
public virtual void RegisterUndoWithTarget (Foundation.NSObject target, ObjCRuntime.Selector selector, Foundation.NSObject anObject);
abstract member RegisterUndoWithTarget : Foundation.NSObject * ObjCRuntime.Selector * Foundation.NSObject -> unit
override this.RegisterUndoWithTarget : Foundation.NSObject * ObjCRuntime.Selector * Foundation.NSObject -> unit

參數

target
NSObject
selector
Selector
anObject
NSObject

即將加入。

這個參數可以是 null

屬性

適用於