AttributeTableBuilder.CreateTable Método
Definição
Cria uma tabela de atributo que contém todas as definições de atributo fornecidas por meio de chamadas AddCustomAttributes(Type, Attribute[]).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
Retornos
Um AttributeTable que pode ser passado para o repositório de metadados.An AttributeTable that can be passed to the metadata store.
Comentários
A tabela é um instantâneo do estado atual do construtor de atributos; quaisquer atributos adicionados por chamadas subsequentes AddCustomAttributes não são incluídos na tabela.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.
Se os métodos de retorno de chamada forem usados para declarar atributos, esses métodos não serão avaliados durante CreateTable .If callback methods were used to declare attributes, those methods will not be evaluated during CreateTable. Em vez disso, a tabela conterá esses retornos de chamada e irá avaliá-los conforme necessário.Instead, the table will contain those callbacks and will evaluate them as needed.