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 Basic | Visual C++ |
public virtual Id ReplacementObjectForPortCoder( NSPortCoder aCoder )
Public Overridable Function ReplacementObjectForPortCoder ( _ aCoder As NSPortCoder _ ) As Id
public: virtual Id^ ReplacementObjectForPortCoder( NSPortCoder^ aCoder )
Parameters
- 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)