MetadataViewImplementationAttribute(Type) Konstruktor

Definicja

Inicjuje nowe wystąpienie klasy MetadataViewImplementationAttribute.

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)

Parametry

implementationType
Type

Typ widoku metadanych.

Uwagi

Domyślnie elementy MetadataView są generowane przy użyciu emisji odbicia. Ten atrybut umożliwia deweloperowi określenie typu, który implementuje widok, a nie przy użyciu wygenerowanego typu.

Dotyczy