Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- assembly
Type: System.Reflection.Assembly
The assembly to add assembly-level attributes to.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.