AutoGeneratedField.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:
virtual void ExtractValuesFromCell (
	IOrderedDictionary^ dictionary, 
	DataControlFieldCell^ cell, 
	DataControlRowState rowState, 
	bool includeReadOnly
) override
public void ExtractValuesFromCell (
	IOrderedDictionary dictionary, 
	DataControlFieldCell cell, 
	DataControlRowState rowState, 
	boolean includeReadOnly
)
public override function ExtractValuesFromCell (
	dictionary : IOrderedDictionary, 
	cell : DataControlFieldCell, 
	rowState : DataControlRowState, 
	includeReadOnly : boolean
)
Not applicable.

Parameters

dictionary

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

cell

The DataControlFieldCell that contains the values to retrieve.

rowState

One of the DataControlRowState values.

includeReadOnly

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.

NoteNote:

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.

NoteNote:

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

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: