ModelMetadata(ModelMetadataIdentity) 构造函数

定义

创建一个新的 ModelMetadata

protected:
 ModelMetadata(Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::ModelMetadataIdentity identity);
protected ModelMetadata (Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity identity);
new Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity -> Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata
Protected Sub New (identity As ModelMetadataIdentity)

参数

适用于