NSUndoManager.RegisterUndo(NSObject, Action<NSObject>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[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
- Attributes