This documentation is archived and is not being maintained.
AttributeTableBuilder::AddCustomAttributes Method (Type, array<Attribute>)
Visual Studio 2010
Adds the contents of the provided attributes to this builder.
Assembly: System.Activities.Presentation (in System.Activities.Presentation.dll)
Parameters
- type
- Type: System::Type
The type to add class-level attributes to.
- attributes
- Type: array<System::Attribute>
The attributes that are added to the builder.
| Exception | Condition |
|---|---|
| ArgumentNullException | type or attributes is nullptr. |
If an attribute conflicts with another attribute already included in the builder, the last attribute added replaces previous attributes.
When building a large attribute table, use AddCallback(Type, AttributeCallback) to defer the work of creating attributes until they are needed.
- 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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: