Share via


AttributeCallbackBuilder 类

定义

提供一项功能,用于向一个特定的 AttributeTable 中添加特定类型的特性。

public ref class AttributeCallbackBuilder sealed
public sealed class AttributeCallbackBuilder
type AttributeCallbackBuilder = class
Public NotInheritable Class AttributeCallbackBuilder
继承
AttributeCallbackBuilder

注解

首次为某个类型的特性查询 AttributeTable 时,如果使用 AttributeTableBuilder 为该类型填充 AddCallback,则委托将传递一个 AttributeCallbackBuilderAttributeTable 将移除回调引用,并添加通过调用 AddCustomAttributes 而提供的任何特性信息。

属性

CallbackType

要添加特性的类型。

方法

AddCustomAttributes(Attribute[])

将所提供的特性的内容添加到创建此生成器的特性表中。

AddCustomAttributes(DependencyProperty, Attribute[])

将所提供的特性的内容添加到创建此生成器的特性表中。

AddCustomAttributes(MemberDescriptor, Attribute[])

将所提供的特性的内容添加到创建此生成器的特性表中。

AddCustomAttributes(MemberInfo, Attribute[])

将所提供的特性的内容添加到创建此生成器的特性表中。

AddCustomAttributes(String, Attribute[])

将所提供的特性的内容添加到创建此生成器的特性表中。

Equals(Object)

确定指定对象是否等于当前对象。

(继承自 Object)
GetHashCode()

作为默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。

(继承自 Object)
ToString()

返回表示当前对象的字符串。

(继承自 Object)

适用于