Udostępnij za pośrednictwem


AttributeTable.ContainsAttributes(Type) Metoda

Definicja

Określa, czy ta tabela zawiera metadane dla danego typu.

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

Parametry

type
Type

Typ do sprawdzania metadanych.

Zwraca

true jeśli tabela zawiera metadane dla typu na poziomie klasy lub metadanych skojarzonych z elementem DependencyProperty lub MemberDescriptor; w przeciwnym razie false.

Wyjątki

type to null.

Dotyczy