ImageField.ExtractValuesFromCell 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
用指定 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对象中检索字段的值。
注释
此方法主要由控件开发人员使用。
此方法没有返回值。 而是通过 IOrderedDictionary 为参数传入的对象引用 dictionary 返回字段值。 调用方法后,循环访问 IOrderedDictionary 对象以访问字段值。
注释
若要在对象中包含DataControlFieldCell只读字段值,请为true参数传入includeReadOnly。