ImageField.ExtractValuesFromCell Method

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
)

Parameters

dictionary
Type: System.Collections.Specialized.IOrderedDictionary

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

cell
Type: System.Web.UI.WebControls.DataControlFieldCell

The DataControlFieldCell that contains the values to retrieve.

rowState
Type: System.Web.UI.WebControls.DataControlRowState

One of the DataControlRowState values.

includeReadOnly
Type: System.Boolean

true to include 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 ImageField object.

NoteNote

This method is used primarily 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.

NoteNote

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft