Entity.FormattedValues Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets of sets the collection of formatted values for the entity attributes.
public:
property Microsoft::Xrm::Sdk::FormattedValueCollection ^ FormattedValues { Microsoft::Xrm::Sdk::FormattedValueCollection ^ get(); };
[System.Runtime.Serialization.DataMember]
public Microsoft.Xrm.Sdk.FormattedValueCollection FormattedValues { get; set; }
[<System.Runtime.Serialization.DataMember>]
member this.FormattedValues : Microsoft.Xrm.Sdk.FormattedValueCollection with get, set
Public Property FormattedValues As FormattedValueCollection
Property Value
The collection of formatted values for the entity attributes.
- Attributes
Examples
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.