NSUndoManager.RegisterUndoWithTarget(NSObject, Selector, NSObject) Method

Definition

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

Parameters

target
NSObject
selector
Selector
anObject
NSObject
Attributes

Applies to