Поделиться через


Entity.FormattedValues Property

 

Applies To: Dynamics CRM 2015

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; }
public:
[DataMemberAttribute]
property FormattedValueCollection^ FormattedValues {
    FormattedValueCollection^ get();
    internal: void set(FormattedValueCollection^ value);
}
[<DataMemberAttribute>]
member FormattedValues : FormattedValueCollection with 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

© 2016 Microsoft. All rights reserved. Copyright