Informs the delegate that one given object is being substituted for another given object.
Original signature is '- (void)archiver:(NSKeyedArchiver *)archiver willReplaceObject:(id)object withObject:(id)newObject'
Available in Mac OS X v10.2 and later.

C# | Visual Basic | Visual C++ |
void ArchiverWillReplaceObjectWithObject( NSKeyedArchiver archiver, Id object, Id newObject )
Sub ArchiverWillReplaceObjectWithObject ( _ archiver As NSKeyedArchiver, _ object As Id, _ newObject As Id _ )
void ArchiverWillReplaceObjectWithObject( NSKeyedArchiver^ archiver, Id^ object, Id^ newObject )

- archiver (NSKeyedArchiver)
- The archiver that sent the message.
- object (Id)
- The object being replaced in the archive.
- newObject (Id)
- The object replacing object in the archive.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)