Share via


AttributeTableBuilder.AddCustomAttributes Method (Assembly, array<Attribute )

Adds the contents of the provided attributes array to the table builder.

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

Syntax

'Declaration
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[]
)

Parameters

  • attributes
    Type: array<System.Attribute[]
    The new attributes to add to assembly.

Exceptions

Exception Condition
ArgumentNullException

assembly or attributes is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

AttributeTableBuilder Class

AddCustomAttributes Overload

Microsoft.Windows.Design.Metadata Namespace