MonobjcMonobjc Documented Class Library
RegisterUndoWithTargetSelectorObject Method (target, aSelector, anObject)
NamespacesMonobjc.FoundationNSUndoManagerRegisterUndoWithTargetSelectorObject(Id, IntPtr, Id)

Records a single undo operation for a given target, so that when an undo is performed it is sent a specified selector with a given object as the sole argument.

Original signature is '- (void)registerUndoWithTarget:(id)target selector:(SEL)aSelector object:(id)anObject'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void RegisterUndoWithTargetSelectorObject(
	Id target,
	IntPtr aSelector,
	Id anObject
)
Public Overridable Sub RegisterUndoWithTargetSelectorObject ( _
	target As Id, _
	aSelector As IntPtr, _
	anObject As Id _
)
public:
virtual void RegisterUndoWithTargetSelectorObject(
	Id^ target, 
	IntPtr aSelector, 
	Id^ anObject
)
Parameters
target (Id)
The target of the undo operation.
aSelector (IntPtr)
The selector for the undo operation.
anObject (Id)
The argument sent with the selector.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)