Teilen über


AttributeTable.ContainsAttributes(Type) Methode

Definition

Bestimmt, ob diese Tabelle Metadaten für den angegebenen Typ enthält.

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

Parameter

type
Type

Der Typ, für den auf Metadaten überprüft wird.

Gibt zurück

true, wenn die Tabelle Metadaten für den Typ auf Klassenebene oder einer DependencyProperty oder MemberDescriptor zugeordnete Metadaten enthält, andernfalls false.

Ausnahmen

type ist null.

Gilt für: