ListViewUpdatedEventArgs.OldValues 属性

定义

获取一个包含已更新项的原始值的字典。

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

属性值

已更新项的原始值。

注解

OldValues使用 属性访问已更新项的原始字段值。 例如,可以使用这些值来保留更新项的日志。

OldValues 属性返回一个实现 IOrderedDictionary 接口的对象。 对象包含 DictionaryEntry 表示已更新项的字段的对象。

注意

作为快捷方式,可以使用 对象的索引器 IOrderedDictionary 直接访问字段值。

适用于

另请参阅