Düzenle

Aracılığıyla paylaş


NSUndoManager.RegisterUndo(NSObject, Action<NSObject>) Method

Definition

[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

Parameters

target
NSObject
undoHandler
Action<NSObject>
Attributes

Applies to