Informs the delegate that object is about to be encoded.
Original signature is '- (id)archiver:(NSKeyedArchiver *)archiver willEncodeObject:(id)object'
Available in Mac OS X v10.2 and later.

C# | Visual Basic | Visual C++ |
Id ArchiverWillEncodeObject( NSKeyedArchiver archiver, Id object )
Function ArchiverWillEncodeObject ( _ archiver As NSKeyedArchiver, _ object As Id _ ) As Id
Id^ ArchiverWillEncodeObject( NSKeyedArchiver^ archiver, Id^ object )

- archiver (NSKeyedArchiver)
- The archiver that sent the message.
- object (Id)
- The object that is about to be encoded. This value is never nil.

Either object or a different object to be encoded in its stead. The delegate can also modify the coder state. If the delegate returns nil, nil is encoded.

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