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如果資料表包含類別層級的類型元資料或與 A DependencyProperty 或MemberDescriptor相關的元資料;否則,。 false
例外狀況
type 是 null。