This documentation is archived and is not being maintained.

AttributeTableBuilder::AddCustomAttributes Method (Type, array<Attribute>)

Adds the contents of the provided attributes to this builder.

Namespace:  System.Activities.Presentation.Metadata
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)

public:
void AddCustomAttributes(
	Type^ type, 
	... array<Attribute^>^ attributes
)

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.

ExceptionCondition
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.

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4

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: