[#BloombergLP-balb-CustomString-checkRestrictions] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/CustomString.adoc[CustomString]::checkRestrictions :relfileprefix: ../../../ :mrdocs: Check if the specified `value` satisfies the restrictions of this class (i.e., "CustomString"). == Synopsis Declared in `<balb_testmessages.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int checkRestrictions(xref:bsl/string.adoc[bsl::string] const& value); ---- == Description Return 0 if successful (i.e., the restrictions are satisfied) and non‐zero otherwise. == Return Value 0 if the restrictions are satisfied, and a non‐zero value otherwise == Parameters [cols="1,4"] |=== | Name| Description | *value* | candidate value to validate |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#