MonobjcMonobjc Documented Class Library
ReplacementObjectForCoder Method (aCoder)

Overridden by subclasses to substitute another object for itself during encoding.

Original signature is '- (id)replacementObjectForCoder:(NSCoder *)aCoder'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id ReplacementObjectForCoder(
	NSCoder aCoder
Public Overridable Function ReplacementObjectForCoder ( _
	aCoder As NSCoder _
) As Id
virtual Id^ ReplacementObjectForCoder(
	NSCoder^ aCoder
aCoder (NSCoder)
The coder encoding the receiver.
Return Value
The object encode instead of the receiver (if different).
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)