MonobjcMonobjc Documented Class Library
ReplacementObjectForPortCoder Method (aCoder)

Overridden by subclasses to substitute another object or a copy for itself during distribution encoding.

Original signature is '- (id)replacementObjectForPortCoder:(NSPortCoder *)aCoder'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id ReplacementObjectForPortCoder(
	NSPortCoder aCoder
Public Overridable Function ReplacementObjectForPortCoder ( _
	aCoder As NSPortCoder _
) As Id
virtual Id^ ReplacementObjectForPortCoder(
	NSPortCoder^ aCoder
aCoder (NSPortCoder)
The port 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)