[#BloombergLP-balb-Response-lookupSelectionInfo-0a]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/Response.adoc[Response]::lookupSelectionInfo
:relfileprefix: ../../../
:mrdocs:

`lookupSelectionInfo` overloads

== Synopses

Declared in `&lt;balb&lowbar;testmessages&period;h&gt;`

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdlat_SelectionInfo.adoc[bdlat&lowbar;SelectionInfo] const*
xref:BloombergLP/balb/Response/lookupSelectionInfo-0e.adoc[lookupSelectionInfo](int id);
----

[.small]#xref:BloombergLP/balb/Response/lookupSelectionInfo-0e.adoc[_» more&period;&period;&period;_]#

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdlat_SelectionInfo.adoc[bdlat&lowbar;SelectionInfo] const*
xref:BloombergLP/balb/Response/lookupSelectionInfo-08.adoc[lookupSelectionInfo](
    char const* name,
    int nameLength);
----

[.small]#xref:BloombergLP/balb/Response/lookupSelectionInfo-08.adoc[_» more&period;&period;&period;_]#

== Return Value

a pointer to the information structure if found, and 0 otherwise

== Parameters

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


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