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

Definition

Fills the specified IDictionary object with the values from the specified TableCell object.

public:
 override void ExtractValuesFromCell(System::Collections::Specialized::IOrderedDictionary ^ dictionary, System::Web::UI::WebControls::DataControlFieldCell ^ cell, System::Web::UI::WebControls::DataControlRowState rowState, bool includeReadOnly);
public override void ExtractValuesFromCell (System.Collections.Specialized.IOrderedDictionary dictionary, System.Web.UI.WebControls.DataControlFieldCell cell, System.Web.UI.WebControls.DataControlRowState rowState, bool includeReadOnly);
override this.ExtractValuesFromCell : System.Collections.Specialized.IOrderedDictionary * System.Web.UI.WebControls.DataControlFieldCell * System.Web.UI.WebControls.DataControlRowState * bool -> unit
Public Overrides Sub ExtractValuesFromCell (dictionary As IOrderedDictionary, cell As DataControlFieldCell, rowState As DataControlRowState, includeReadOnly As Boolean)

Parameters

dictionary
IOrderedDictionary IOrderedDictionary IOrderedDictionary IOrderedDictionary

A IDictionary used to store the values of the specified cell.

includeReadOnly
Boolean Boolean Boolean Boolean

true to include the values of read-only fields; otherwise, false.

Remarks

The ExtractValuesFromCell method is provided as a convenient way to retrieve the values of the fields from the specified TableCell object in a BoundField object.

Note

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 System.Collections.IDictionary object passed in for the dictionary parameter. After the method has been called, iterate through the System.Collections.IDictionary object to access the field values.

Note

If the TableCell object contains read-only field values, you must pass in true for the includeReadOnly parameter to include those values.

Applies to

See also