AttributeTable.ContainsAttributes(Type) Metod

Definition

Avgör om den här tabellen innehåller metadata för den angivna typen.

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

Parametrar

type
Type

Typ för att söka efter metadata.

Returer

trueom tabellen innehåller metadata för typen på klassnivå eller metadata som är associerade med en DependencyProperty eller MemberDescriptor, annars . false

Undantag

type är null.

Gäller för