Share via


ModelMetadataTypeAttribute(Type) 建構函式

定義

初始化 ModelMetadataTypeAttribute 類別的新執行個體。

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

參數

type
Type

與資料模型類別相關聯的中繼資料類別類型。

適用於