NSUndoManager.RegisterUndo(NSObject, Action<NSObject>) 方法

定义

[Foundation.Export("registerUndoWithTarget:handler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RegisterUndo (Foundation.NSObject target, Action<Foundation.NSObject> undoHandler);
abstract member RegisterUndo : Foundation.NSObject * Action<Foundation.NSObject> -> unit
override this.RegisterUndo : Foundation.NSObject * Action<Foundation.NSObject> -> unit

参数

target
NSObject
undoHandler
Action<NSObject>
属性

适用于