Entity.FormattedValues Property
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)
Syntax
[DataMemberAttribute]
public FormattedValueCollection FormattedValues { get; internal set; }
<DataMemberAttribute>
Public Property FormattedValues As FormattedValueCollection
Get
Friend Set
End Property
Property Value
Type: Microsoft.Xrm.Sdk.FormattedValueCollection
Type: FormattedValueCollection
The collection of formatted values for the entity attributes.
Remarks
Entity formatted values are only available on a retrieve operation, not on an update operation.
Examples
if (entity.FormattedValues.Contains(metadata.LogicalName))
actualValue = entity.FormattedValues[metadata.LogicalName];
See Also
Attributes
Entity Class
Microsoft.Xrm.Sdk Namespace
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright