Επεξεργασία

Κοινή χρήση μέσω


ListViewUpdateEventArgs.OldValues Property

Definition

Gets a dictionary that contains the original values of the item to update.

public:
 property System::Collections::Specialized::IOrderedDictionary ^ OldValues { System::Collections::Specialized::IOrderedDictionary ^ get(); };
public System.Collections.Specialized.IOrderedDictionary OldValues { get; }
member this.OldValues : System.Collections.Specialized.IOrderedDictionary
Public ReadOnly Property OldValues As IOrderedDictionary

Property Value

The original values of the item to update.

Remarks

Use the OldValues property (dictionary) to access the original values of the fields in the item to update. This dictionary contains all fields in the item except the key fields.

Note

You can access the key fields of the item by using the Keys property. To access the revised values of the non-key fields in the item, use the NewValues property.

The OldValues property is automatically populated with the original values of all the fields in the item. A separate entry is added to the OldValues property for every field in the item.

To determine the field name of an entry, use the DictionaryEntry.Key property of a System.Collections.DictionaryEntry object that is contained in the OldValues dictionary. To determine the value of an entry, use the DictionaryEntry.Value property.

Applies to

See also