共用方式為


DefaultMetadataDetails(ModelMetadataIdentity, ModelAttributes) 建構函式

定義

建立新的 DefaultMetadataDetails

public:
 DefaultMetadataDetails(Microsoft::AspNetCore::Mvc::ModelBinding::Metadata::ModelMetadataIdentity key, Microsoft::AspNetCore::Mvc::ModelBinding::ModelAttributes ^ attributes);
public DefaultMetadataDetails (Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity key, Microsoft.AspNetCore.Mvc.ModelBinding.ModelAttributes attributes);
new Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultMetadataDetails : Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ModelMetadataIdentity * Microsoft.AspNetCore.Mvc.ModelBinding.ModelAttributes -> Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.DefaultMetadataDetails
Public Sub New (key As ModelMetadataIdentity, attributes As ModelAttributes)

參數

attributes
ModelAttributes

模型屬性的集合。

適用於