[#BloombergLP-bdlar-bdlat_sequenceAccessAttribute-0e] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::bdlat_sequenceAccessAttribute :relfileprefix: ../../ :mrdocs: Invoke the specified `accessor` on the named attribute of `ref`. == Synopsis Declared in `<bdlar_sequenceref.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_ACCESSOR> int bdlat_sequenceAccessAttribute( xref:BloombergLP/bdlar/SequenceConstRef.adoc[SequenceConstRef] const& ref, t_ACCESSOR& accessor, char const* attributeName, int attributeNameLength); ---- == Description Invoke the specified `accessor` on the attribute of the specified `ref` identified by the specified `attributeName` and `attributeNameLength`. Return the value from the invocation of `accessor`. == Return Value value from the invocation of `accessor` == Parameters [cols="1,4"] |=== | Name| Description | *ref* | sequence reference to access | *accessor* | callable invoked on the attribute | *attributeName* | name of the attribute | *attributeNameLength* | length of `attributeName` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#