Share via


ModelMetadataTypeAttribute(Type) Konstruktor

Definition

Initialisiert eine neue Instanz der ModelMetadataTypeAttribute-Klasse.

public:
 ModelMetadataTypeAttribute(Type ^ type);
public ModelMetadataTypeAttribute (Type type);
new Microsoft.AspNetCore.Mvc.ModelMetadataTypeAttribute : Type -> Microsoft.AspNetCore.Mvc.ModelMetadataTypeAttribute
Public Sub New (type As Type)

Parameter

type
Type

Der Typ der Metadatenklasse, die einer Datenmodellklasse zugeordnet ist.

Gilt für: