ListViewDeleteEventArgs.Values Property

 

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

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

public IOrderedDictionary Values { get; }

Property Value

Type: System.Collections.Specialized.IOrderedDictionary

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

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

System_CAPS_noteNote

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.

.NET Framework
Available since 3.5
Return to top
Show: