語言

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

用來檢查元資料的類型。

傳回

true如果資料表包含類別層級的類型元資料或與 A DependencyProperty 或MemberDescriptor相關的元資料;否則,。 false

例外狀況

type 是 null。

適用於