[#BloombergLP-bdlcc-ObjectCatalog-replace-07] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/ObjectCatalog.adoc[ObjectCatalog]::replace :relfileprefix: ../../../ :mrdocs: Replace the object having the specified `handle` with the specified `newObject`. Return 0 on success, and a non‐zero value if the handle is not contained in this catalog. == Synopsis Declared in `<bdlcc_objectcatalog.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int replace( int handle, TYPE const& newObject); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#