Entity.FormattedValues Entity.FormattedValues Entity.FormattedValues Entity.FormattedValues Property

Definition

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; }
member this.FormattedValues : Microsoft.Xrm.Sdk.FormattedValueCollection
Public ReadOnly Property FormattedValues As FormattedValueCollection

Property Value

Examples


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


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

See also