MonobjcMonobjc Documented Class Library
NSKeyedArchiver..::..ArchiverWillEncodeObjectEventHandler Delegate
NamespacesMonobjc.FoundationNSKeyedArchiverNSKeyedArchiver..::..ArchiverWillEncodeObjectEventHandler

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.

Declaration Syntax
C#Visual BasicVisual C++
public delegate Id ArchiverWillEncodeObjectEventHandler(
	NSKeyedArchiver archiver,
	Id object
)
Public Delegate Function ArchiverWillEncodeObjectEventHandler ( _
	archiver As NSKeyedArchiver, _
	object As Id _
) As Id
public delegate Id^ ArchiverWillEncodeObjectEventHandler(
	NSKeyedArchiver^ archiver, 
	Id^ object
)
Parameters
archiver (NSKeyedArchiver)
The archiver that sent the message.
object (Id)
The object that is about to be encoded. This value is never nil.
Return Value
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.
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)