Método AttributeTableBuilder.AddCustomAttributes (Assembly, array<Attribute )

Adiciona o conteúdo da matriz atributos fornecido para o construtor de tabela.

Namespace:  Microsoft.Windows.Design.Metadata
Assembly:  Microsoft.Windows.Design.Extensibility (em Microsoft.Windows.Design.Extensibility.dll)

Sintaxe

'Declaração
Public Sub AddCustomAttributes ( _
    assembly As Assembly, _
    ParamArray attributes As Attribute() _
)
public void AddCustomAttributes(
    Assembly assembly,
    params Attribute[] attributes
)
public:
void AddCustomAttributes(
    Assembly^ assembly, 
    ... array<Attribute^>^ attributes
)
member AddCustomAttributes : 
        assembly:Assembly * 
        attributes:Attribute[] -> unit 
public function AddCustomAttributes(
    assembly : Assembly, 
    ... attributes : Attribute[]
)

Parâmetros

  • attributes
    Tipo: array<System.Attribute[]
    Os novos atributos para adicionar a assembly.

Exceções

Exceção Condição
ArgumentNullException

assemblyor attributes is nulluma referência nula (Nothing no Visual Basic).

Segurança do .NET Framework

Consulte também

Referência

AttributeTableBuilder Classe

Sobrecargas AddCustomAttributes

Namespace Microsoft.Windows.Design.Metadata