MetadataViewImplementationAttribute(Type) Konstruktor

Definíció

Inicializálja a MetadataViewImplementationAttribute osztály új példányát.

public:
 MetadataViewImplementationAttribute(Type ^ implementationType);
public MetadataViewImplementationAttribute(Type? implementationType);
public MetadataViewImplementationAttribute(Type implementationType);
new System.ComponentModel.Composition.MetadataViewImplementationAttribute : Type -> System.ComponentModel.Composition.MetadataViewImplementationAttribute
Public Sub New (implementationType As Type)

Paraméterek

implementationType
Type

A metaadat-nézet típusa.

Megjegyzések

Alapértelmezés szerint a MetadataViews tükröződés-kibocsátással jön létre. Ez az attribútum lehetővé teszi, hogy a fejlesztő a létrehozott típus helyett azt a típust adja meg, amely implementálja a nézetet.

A következőre érvényes: