[#BloombergLP-ball-UserFieldValue-theString] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/UserFieldValue.adoc[UserFieldValue]::theString :relfileprefix: ../../../ :mrdocs: Return a reference providing non‐modifiable access to the string value of this object. The behavior is undefined unless `type() == ball::UserFieldType::e_STRING`. == Synopsis Declared in `<ball_userfieldvalue.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/string.adoc[bsl::string] const& theString() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#