AttributeTableBuilder.CreateTable 方法

定义

创建一个属性表,其中包含通过 AddCustomAttributes(Type, Attribute[]) 调用提供的所有属性定义。

public:
 System::Activities::Presentation::Metadata::AttributeTable ^ CreateTable();
public System.Activities.Presentation.Metadata.AttributeTable CreateTable();
member this.CreateTable : unit -> System.Activities.Presentation.Metadata.AttributeTable
Public Function CreateTable () As AttributeTable

返回

AttributeTable可以传递给元数据存储区。

注解

表是属性生成器的当前状态的快照;后续 AddCustomAttributes 调用添加的任何属性都不会包含在表中。

如果回调方法用于声明属性,则这些方法将不会在期间 CreateTable进行评估。 相反,该表将包含这些回调,并根据需要对其进行计算。

适用于