AutoGeneratedField.ExtractValuesFromCell Method

Note: This method is new in the .NET Framework version 2.0.

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
)

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 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show: