Редагувати

Поділитися через


ListViewDeleteEventArgs.Values Property

Definition

Gets a dictionary of the non-key field name/value pairs in the item to delete.

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

Property Value

An object that contains the non-key field name/value pairs of the item to delete.

Remarks

Use the dictionary in the Values property to access the values of the non-key fields in the item to delete.

Note

This property does not contain the primary key field or fields. To access the values of the primary key or keys, use the Keys property.

The Values property is automatically populated with the name/value pairs of the non-key fields in the item. A separate entry is added to the Keys property for each key field in the item.

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

Applies to

See also