Changes the connection’s source or destination object to the specified object.
Original signature is '- (void)replaceObject:(id)oldObject withObject:(id)newObject'
Available in Mac OS X v10.0 and later.
Declaration Syntax
public virtual void ReplaceObjectWithObject(
Id oldObject,
Id newObject
)
Public Overridable Sub ReplaceObjectWithObject ( _
oldObject As Id, _
newObject As Id _
)
public:
virtual void ReplaceObjectWithObject(
Id^ oldObject,
Id^ newObject
)
Parameters
- oldObject (Id)
- The object you want to replace. This object can be either the current source object or the current destination object.
- newObject (Id)
- The replacement 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.AppKit (Module: Monobjc.AppKit)