AttributeTableBuilder.AddCallback(Type, AttributeCallback) 方法

定义

指定在需要给定类型的元数据时将调用的回调。

public:
 void AddCallback(Type ^ type, System::Activities::Presentation::Metadata::AttributeCallback ^ callback);
public void AddCallback(Type type, System.Activities.Presentation.Metadata.AttributeCallback callback);
member this.AddCallback : Type * System.Activities.Presentation.Metadata.AttributeCallback -> unit
Public Sub AddCallback (type As Type, callback As AttributeCallback)

参数

type
Type

回调将为其提供元数据的类型。

callback
AttributeCallback

回调方法。

注解

第一AttributeTable次为属性CreateTable查询返回者type时,callback将调用它来提供元数据信息。

适用于