Condividi tramite


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

Definizione

[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

Parametri

target
NSObject
undoHandler
Action<NSObject>
Attributi

Si applica a