[#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 `&lt;bdlcc&lowbar;objectcatalog&period;h&gt;`

Locate the object having the specified `handle`&period;


[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&period;&period;&period;_]#

Same as the preceding overload, loading the found object&apos;s value into the specified `valueBuffer`&period;


[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&period;&period;&period;_]#

== Return Value

0 on success, and a non&hyphen;zero value if not found

== Parameters

[cols="1,4"]
|===
| Name| Description
| *handle*
| handle of the object to locate
| *valueBuffer*
| buffer that receives the found value
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
