Entity.FormattedValues Property

Definition

Gets of sets the collection of formatted values for the entity attributes.

C++
public:
 property Microsoft::Xrm::Sdk::FormattedValueCollection ^ FormattedValues { Microsoft::Xrm::Sdk::FormattedValueCollection ^ get(); };

Property Value

The collection of formatted values for the entity attributes.

Attributes

Examples

C#
if (entity.FormattedValues.Contains(metadata.LogicalName))
actualValue = entity.FormattedValues[metadata.LogicalName];

Remarks

Entity formatted values are only available on a retrieve operation, not on an update operation.

Applies to

Product Versions
Dataverse SDK Latest

See also