CheckBoxField.ExtractValuesFromCell Method

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

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:
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

A System.Collections.IDictionary 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

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.

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.

NoteNote

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

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: