Causes the receiver to treat subsequent requests to encode a given object as though they were requests to encode another given object.
Original signature is '- (void)replaceObject:(id)object withObject:(id)newObject'
Available in Mac OS X v10.0 and later.
Declaration Syntax
public virtual void ReplaceObjectWithObject(
Id object,
Id newObject
)
Public Overridable Sub ReplaceObjectWithObject ( _
object As Id, _
newObject As Id _
)
public:
virtual void ReplaceObjectWithObject(
Id^ object,
Id^ newObject
)
Parameters
- object (Id)
- An object in the object graph being archived.
- newObject (Id)
- The object with which to replace object in the archive.
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)