AttributeTableBuilder Class

.NET Framework (current version)
 

Creates and populates an AttributeTable that is used by the MetadataStore to provide attribute lookup and registration.

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

System::Object
  System.Activities.Presentation.Metadata::AttributeTableBuilder

public ref class AttributeTableBuilder 

NameDescription
System_CAPS_pubmethodAttributeTableBuilder()

Creates a new instance of the AttributeTableBuilder class.

NameDescription
System_CAPS_pubmethodAddCallback(Type^, AttributeCallback^)

Specifies a callback that will be invoked when metadata for the given type is needed.

System_CAPS_pubmethodAddCustomAttributes(Type^, array<Attribute^>^)

Adds the contents of the provided attributes to this builder.

System_CAPS_pubmethodAddCustomAttributes(Type^, DependencyProperty^, array<Attribute^>^)

Adds the contents of the provided attributes to this builder.

System_CAPS_pubmethodAddCustomAttributes(Type^, MemberDescriptor^, array<Attribute^>^)

Adds the contents of the provided attributes to this builder.

System_CAPS_pubmethodAddCustomAttributes(Type^, MemberInfo^, array<Attribute^>^)

Adds the contents of the provided attributes to this builder.

System_CAPS_pubmethodAddCustomAttributes(Type^, String^, array<Attribute^>^)

Adds the contents of the provided attributes to this builder.

System_CAPS_pubmethodAddTable(AttributeTable^)

Adds the contents of the provided attribute table to this builder.

System_CAPS_pubmethodCreateTable()

Creates an attribute table that contains all of the attribute definitions provided through AddCustomAttributes calls.

System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodValidateTable()

Verifies that the attribute table that is being built contains valid attribute information.

Use AddCallback, AddCustomAttributes, and AddTable to populate the builder, then call CreateTable to acquire an AttributeTable containing the desired collection of attributes.

.NET Framework
Available since 4.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: