Share via


CompiledBindableTemplateBuilder.ExtractValues(Control) 方法

定義

擷取以樣板化內容中雙向 ASP.NET 資料繫結語法所繫結值的一組名稱/值組。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public:
 virtual System::Collections::Specialized::IOrderedDictionary ^ ExtractValues(System::Web::UI::Control ^ container);
public System.Collections.Specialized.IOrderedDictionary ExtractValues (System.Web.UI.Control container);
abstract member ExtractValues : System.Web.UI.Control -> System.Collections.Specialized.IOrderedDictionary
override this.ExtractValues : System.Web.UI.Control -> System.Collections.Specialized.IOrderedDictionary
Public Function ExtractValues (container As Control) As IOrderedDictionary

參數

container
Control

可從中取出名稱/值組的 Control。在雙向的資料繫結狀況下,資料繫結控制項會將這些名稱/值組傳遞給相關的資料來源控制項。

傳回

名稱/值組的 IOrderedDictionary。 名稱表示資料項目欄位的名稱,且該欄位指定為樣板化內容中要繫結的第一個參數。 值為屬性值的目前值,且該屬性值是使用雙向 ASP.NET 資料繫結語法所繫結。

實作

備註

方法 ExtractValuesCompiledBindableTemplateBuilder 方法的類別實作 IBindableTemplate.ExtractValues(Control)

適用於

另請參閱