AutoGeneratedField.ExtractValuesFromCell Method (IOrderedDictionary, DataControlFieldCell, DataControlRowState, Boolean)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Fills the specified IOrderedDictionary object with the values from the specified DataControlFieldCell object.

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

public override void ExtractValuesFromCell(
	IOrderedDictionary dictionary,
	DataControlFieldCell cell,
	DataControlRowState rowState,
	bool includeReadOnly


Type: System.Collections.Specialized.IOrderedDictionary

An IOrderedDictionary used to store the values of the specified cell.

Type: System.Web.UI.WebControls.DataControlFieldCell

The DataControlFieldCell that contains the values to retrieve.

Type: System.Web.UI.WebControls.DataControlRowState

One of the DataControlRowState values.

Type: System.Boolean

The value true includes only the values of read-only fields; otherwise, false.

The ExtractValuesFromCell method is a helper method used to retrieve the values of the fields from the specified DataControlFieldCell object in an AutoGeneratedField object.


This method is primarily used by control developers.

This method does not have a return value. Instead, the field values are returned by reference through the IOrderedDictionary object passed in for the dictionary parameter. After the method has been called, iterate through the IOrderedDictionary object to access the field values.


To include the read-only field values in the DataControlFieldCell object, pass in true for the includeReadOnly parameter.

.NET Framework
Available since 2.0
Return to top