ListViewUpdatedEventArgs.OldValues Property

Definition

Gets a dictionary that contains the original values for the updated item.

C#
public System.Collections.Specialized.IOrderedDictionary OldValues { get; }

Property Value

The original values for the updated item.

Remarks

Use the OldValues property to access the original field values for the updated item. For example, you can use these values to keep a log of updated items.

The OldValues property returns an object that implements the IOrderedDictionary interface. The object contains DictionaryEntry objects that represent the fields of the updated item.

Poznámka

As a shortcut, you can use the indexer of the IOrderedDictionary object to access the field values directly.

Applies to

Produkt Verzie
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also