Share via


AutoGeneratedField.ExtractValuesFromCell 方法

定義

使用指定 IOrderedDictionary 物件的值填入指定的 DataControlFieldCell 物件。

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)

參數

dictionary
IOrderedDictionary

IOrderedDictionary,用於儲存指定儲存格的值。

cell
DataControlFieldCell

DataControlFieldCell,包含要擷取的值。

rowState
DataControlRowState

其中一個 DataControlRowState 值。

includeReadOnly
Boolean

true 只包含唯讀欄位的值,否則為 false

備註

方法是 ExtractValuesFromCell 協助程式方法,用來從 DataControlFieldCell 物件中指定的 AutoGeneratedField 物件擷取欄位的值。

注意

這個方法主要由控制項開發人員使用。

這個方法不會傳回值。 相反地,域值會透過 IOrderedDictionary 針對 dictionary 參數傳入的物件傳回。 呼叫 方法之後,逐一查看 IOrderedDictionary 物件以存取域值。

注意

若要在 物件中包含 DataControlFieldCell 唯讀域值,請傳入 true 參數 includeReadOnly

適用於

另請參閱