[#BloombergLP-bdlcc-ObjectCatalog-find-06] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/ObjectCatalog.adoc[ObjectCatalog]::find :relfileprefix: ../../../ :mrdocs: `find` overloads == Synopses Declared in `<bdlcc_objectcatalog.h>` Locate the object having the specified `handle` and optionally load its value into the optionally specified `valueBuffer`. Return zero on success, and a non‐zero value if the `handle` is not contained in this catalog. Note that `valueBuffer` is assigned into, and thus must point to a valid `TYPE` instance. Note that the overload with `valueBuffer` passed is not supported unless `TYPE` has a copy constructor. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bdlcc/ObjectCatalog/find-00.adoc[find](int handle) const; ---- [.small]#xref:BloombergLP/bdlcc/ObjectCatalog/find-00.adoc[_» more..._]# Same as the preceding overload, loading the found object's value into the specified `valueBuffer`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bdlcc/ObjectCatalog/find-08.adoc[find]( int handle, TYPE* valueBuffer) const; ---- [.small]#xref:BloombergLP/bdlcc/ObjectCatalog/find-08.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#