共用方式為


BindingMetadataProviderContext(ModelMetadataIdentity, ModelAttributes) 建構函式

定義

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

參數

attributes
ModelAttributes

ModelMetadata的屬性。

適用於