AttributeTable.ContainsAttributes(Type) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定此表是否包含给定类型的元数据。
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
要为元数据检查的类型。
返回
如果此表在类级别包含该类型的元数据或者包含与 true
或 DependencyProperty
关联的元数据,则为MemberDescriptor
;否则为 falsefalse
。
例外
type
为 null
。