AttributeTableBuilder.CreateTable Method

Definition

Creates an attribute table that contains all of the attribute definitions provided through AddCustomAttributes(Type, Attribute[]) calls.

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

Returns

An AttributeTable that can be passed to the metadata store.

Remarks

The table is a snapshot of the current state of the attribute builder; any attributes added by subsequent AddCustomAttributes calls are not included in the table.

If callback methods were used to declare attributes, those methods will not be evaluated during CreateTable. Instead, the table will contain those callbacks and will evaluate them as needed.

Applies to