ExtractValuesFromCell Method
Collapse the table of content
Expand the table of content

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

 

Fills the specified System.Collections.IDictionary 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

A System.Collections.IDictionary 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 provided as a convenient way to retrieve the values of the fields from the specified DataControlFieldCell object in a CheckBoxField object.

System_CAPS_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 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.

System_CAPS_noteNote

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

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft