AttributeTable.ContainsAttributes(Type) 方法

定义

确定此表是否包含给定类型的元数据。

public:
 bool ContainsAttributes(Type ^ type);
public bool ContainsAttributes (Type type);
member this.ContainsAttributes : Type -> bool
Public Function ContainsAttributes (type As Type) As Boolean

参数

type
Type

要为元数据检查的类型。

返回

如果此表在类级别包含该类型的元数据或者包含与 trueDependencyProperty 关联的元数据,则为MemberDescriptor;否则为 falsefalse

例外

typenull

适用于