Dela via


AttributeAuditDetail.OldValue Property

 

Applies To: Dynamics CRM 2015

Gets or sets a collection of former values for an entity attribute.

Namespace:   Microsoft.Crm.Sdk.Messages
Assembly:  Microsoft.Crm.Sdk.Proxy (in Microsoft.Crm.Sdk.Proxy.dll)

Syntax

[DataMemberAttribute]
public Entity OldValue { get; set; }
public:
[DataMemberAttribute]
property Entity^ OldValue {
    Entity^ get();
    void set(Entity^ value);
}
[<DataMemberAttribute>]
member OldValue : Entity with get, set
<DataMemberAttribute>
Public Property OldValue As Entity

Property Value

Type: Microsoft.Xrm.Sdk.Entity

Type: Entity
The collection of former values for an entity attribute.

Remarks

You can access the individual attribute values in the Entity.Attributes collection.

See Also

AttributeAuditDetail Class
Microsoft.Crm.Sdk.Messages Namespace
Sample: Audit entity data changes

Return to top

© 2016 Microsoft. All rights reserved. Copyright