[#BloombergLP-balber-BerEncoderOptions-lookupAttributeInfo-04b]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balber.adoc[balber]::xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions]::lookupAttributeInfo
:relfileprefix: ../../../
:mrdocs:

Return attribute information for the attribute indicated by the specified `name` of the specified `nameLength` if the attribute exists, and 0 otherwise&period;

== Synopsis

Declared in `&lt;balber&lowbar;berencoderoptions&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdlat_AttributeInfo.adoc[bdlat&lowbar;AttributeInfo] const*
lookupAttributeInfo(
    char const* name,
    int nameLength);
----

== Return Value

attribute information if the attribute exists, and 0 otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *name*
| attribute name to look up
| *nameLength*
| length of `name` in bytes
|===


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