Editar

Compartilhar via


AutoGeneratedField.ExtractValuesFromCell Method

Definition

Fills the specified IOrderedDictionary object with the values from the specified DataControlFieldCell 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

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

cell
DataControlFieldCell

The DataControlFieldCell that contains the values to retrieve.

rowState
DataControlRowState

One of the DataControlRowState values.

includeReadOnly
Boolean

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

Remarks

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

Note

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.

Note

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

Applies to

See also