MonobjcMonobjc Documented Class Library
PrepareWithInvocationTarget Method (target)
NamespacesMonobjc.FoundationNSUndoManagerPrepareWithInvocationTarget(Id)

Prepares the receiver for invocation-based undo with the given target as the subject of the next undo operation.

Original signature is '- (id)prepareWithInvocationTarget:(id)target'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id PrepareWithInvocationTarget(
	Id target
)
Public Overridable Function PrepareWithInvocationTarget ( _
	target As Id _
) As Id
public:
virtual Id^ PrepareWithInvocationTarget(
	Id^ target
)
Parameters
target (Id)
The target of the undo operation.
Return Value
On Mac OS X v10.5 and earlier, returns self. On Mac OS X v10.6 and later, returns a proxy object for the receiver that forwards all messages to the receiver as undo operations. See Special Considerations.
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)