Entity.FormattedValues Property

 

Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

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

Namespace:   Microsoft.Xrm.Sdk
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

[DataMemberAttribute]
public FormattedValueCollection FormattedValues { get; internal set; }

Property Value

Type: Microsoft.Xrm.Sdk.FormattedValueCollection

Type: FormattedValueCollection
The collection of formatted values for the entity attributes.

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


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


Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Show: