FieldCallback 委托

定义

引用在从提供者检索字段数据时要调用的方法。References the method to call when retrieving field data from a provider.

public delegate void FieldCallback(System::Object ^ fieldValue);
public delegate void FieldCallback(object fieldValue);
type FieldCallback = delegate of obj -> unit
Public Delegate Sub FieldCallback(fieldValue As Object)

参数

fieldValue
Object

回调方法。The callback method.

继承
FieldCallback

注解

当 Web 部件控件通过IWebPartField接口提供数据时, 使用者或转换器必须从提供程序检索和处理字段数据。When a Web Parts control provides data through the IWebPartField interface, the consumer or transformer must retrieve and process the field data from the provider. FieldCallback委托表示为处理提供程序数据而调用的方法。The FieldCallback delegate represents the method to call for processing the provider data.

IWebPartField.GetFieldValue方法包含一个FieldCallback委托参数。The IWebPartField.GetFieldValue method contains a FieldCallback delegate parameter.

扩展方法

GetMethodInfo(Delegate)

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

适用于