MetadataViewImplementationAttribute(Type) Konstruktor

Definition

Initierar en ny instans av MetadataViewImplementationAttribute klassen.

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)

Parametrar

implementationType
Type

Typ av metadatavy.

Kommentarer

Som standard genereras MetadataViews med reflektionsemitta. Med det här attributet kan utvecklaren ange vilken typ som implementerar vyn i stället för att använda en genererad typ.

Gäller för