ExtractTemplateValuesMethod 委托

定义

提供一个委托,ASP.NET 用它在运行时从 IBindableTemplate 对象中提取一组名称/值对。Provides a delegate with which ASP.NET extracts a set of name/value pairs from an IBindableTemplate object at run time. 此类不能被继承。This class cannot be inherited.

此 API 支持产品基础结构,不能在代码中直接使用。

public delegate System::Collections::Specialized::IOrderedDictionary ^ ExtractTemplateValuesMethod(Control ^ control);
public delegate System.Collections.Specialized.IOrderedDictionary ExtractTemplateValuesMethod(Control control);
type ExtractTemplateValuesMethod = delegate of Control -> IOrderedDictionary
Public Delegate Function ExtractTemplateValuesMethod(control As Control) As IOrderedDictionary 

参数

control
Control

在双向数据绑定方案中,数据绑定控件将 Control(要从中提取名称/值对)传递至关联的数据源控件。The Control from which to extract name/value pairs, which are passed by the data-bound control to an associated data source control in two-way data-binding scenarios. 此参数与由 ExtractValues(Control) 方法传递的 control 参数相对应。This parameter corresponds to the control parameter passed by the ExtractValues(Control) method.

返回值

IOrderedDictionary

名称/值对的 IOrderedDictionary,用于 ASP.NET 数据绑定控件与数据源控件之间的双向、模板化数据绑定方案。An IOrderedDictionary of name/value pairs used in two-way, templated data-binding scenarios between ASP.NET data-bound controls and data source controls.

继承
ExtractTemplateValuesMethod

注解

ExtractTemplateValuesMethod委托由 ASP.NET 使用, 不应在代码中直接使用。The ExtractTemplateValuesMethod delegate is used by ASP.NET and is not meant to be used directly from your code.

CompiledBindableTemplateBuilder该类使用此委托, 该类是 ASP.NET 在 ASP.NET 分析器在模板化内容IBindableTemplate中遇到双向数据绑定时生成的接口的默认实现。This delegate is used by the CompiledBindableTemplateBuilder class, which is the default implementation of the IBindableTemplate interface that ASP.NET generates when the ASP.NET parser encounters two-way data-binding within templated content.

扩展方法

GetMethodInfo(Delegate)

获取指示指定委托表示的方法的对象。Gets an object that represents the method represented by the specified delegate.

适用于

另请参阅