[#BloombergLP-balxml-Encoder_EncodeValue-executeImp-07] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/Encoder_EncodeValue.adoc[Encoder_EncodeValue]::executeImp :relfileprefix: ../../../ :mrdocs: Encode the specified `object` with the specified `formattingMode` for a dynamic type. == Synopsis Declared in `<balxml_encoder.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> int executeImp( TYPE const& object, int formattingMode, xref:BloombergLP/bdlat_TypeCategory/DynamicType.adoc[bdlat_TypeCategory::DynamicType] category); ---- == Return Value 0 on success, and a non‐zero value otherwise == Parameters [cols="1,4"] |=== | Name| Description | *object* | dynamic value to encode | *formattingMode* | formatting mode for the value | *category* | dynamic type‐category tag |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#