共用方式為


ITrackOriginalValues.OriginalValues Property

Gets a dictionary of the changed properties of the entity object and the values they had when they were last retrieved from the database.

Namespace:  Microsoft.SharePoint.Linq
Assembly:  Microsoft.SharePoint.Linq (in Microsoft.SharePoint.Linq.dll)

Syntax

'Declaration
ReadOnly Property OriginalValues As IDictionary(Of String, Object)
    Get
'Usage
Dim instance As ITrackOriginalValues
Dim value As IDictionary(Of String, Object)

value = instance.OriginalValues
IDictionary<string, Object> OriginalValues { get; }

Property Value

Type: System.Collections.Generic.IDictionary<String, Object>
A IDictionary<TKey, TValue> that itemizes the names of changed properties and their original values.

Remarks

The key of each entry in the dictionary is a String that matches the name of a changed property. The value of each entry is a Object that is castable to its original type.

See Also

Reference

ITrackOriginalValues Interface

ITrackOriginalValues Members

Microsoft.SharePoint.Linq Namespace