Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Entity.FormattedValues Property

Definition

Namespace:
Microsoft.Xrm.Sdk
Assembly:
Microsoft.Xrm.Sdk.dll
Package:
Microsoft.PowerPlatform.Dataverse.Client v1.2.10

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.

Applies to

See also