다음을 통해 공유


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>
특성

적용 대상