[#BloombergLP-balxml-EncoderOptions-lookupAttributeInfo-086]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/EncoderOptions.adoc[EncoderOptions]::lookupAttributeInfo
:relfileprefix: ../../../
:mrdocs:

`lookupAttributeInfo` overloads

== Synopses

Declared in `&lt;balxml&lowbar;encoderoptions&period;h&gt;`

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


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

[.small]#xref:BloombergLP/balxml/EncoderOptions/lookupAttributeInfo-01.adoc[_» more&period;&period;&period;_]#

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


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

[.small]#xref:BloombergLP/balxml/EncoderOptions/lookupAttributeInfo-082.adoc[_» more&period;&period;&period;_]#

== Return Value

attribute information if the attribute exists, and 0 otherwise

== Parameters

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


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