MonobjcMonobjc Documented Class Library
ReplaceObjectWithObject Method (object, newObject)
NamespacesMonobjc.FoundationNSUnarchiverReplaceObjectWithObject(Id, Id)

Causes the receiver to substitute one given object for another whenever the latter is extracted from the archive.

Original signature is '- (void)replaceObject:(id)object withObject:(id)newObject'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void ReplaceObjectWithObject(
	Id object,
	Id newObject
)
Public Overridable Sub ReplaceObjectWithObject ( _
	object As Id, _
	newObject As Id _
)
public:
virtual void ReplaceObjectWithObject(
	Id^ object, 
	Id^ newObject
)
Parameters
object (Id)
The archived object to replace.
newObject (Id)
The object with which to replace object.
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)