語言

ImageField.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 物件 ImageField 中擷取欄位的值。

Note

此方法主要由控制開發者使用。

此方法沒有回傳值。 取而代之的是,欄位值會透過 IOrderedDictionary 傳遞 dictionary 給參數的物件來回傳。 方法被呼叫後,遍歷 IOrderedDictionary 物件以存取欄位值。

Note

若要在物件中包含唯讀欄位值 DataControlFieldCell ,請輸入 true 參數 includeReadOnly 。

適用於

另請參閱