Bagikan melalui


BindingSourceMetadataProvider(Type, BindingSource) Konstruktor

Definisi

Membuat baru BindingSourceMetadataProvider untuk yang diberikan type.

public:
 BindingSourceMetadataProvider(Type ^ type, Microsoft::AspNetCore::Mvc::ModelBinding::BindingSource ^ bindingSource);
public BindingSourceMetadataProvider (Type type, Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource bindingSource);
public BindingSourceMetadataProvider (Type type, Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource? bindingSource);
new Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingSourceMetadataProvider : Type * Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource -> Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.BindingSourceMetadataProvider
Public Sub New (type As Type, bindingSource As BindingSource)

Parameter

type
Type

Type. Set BindingSource penyedia dari yang diberikan Type atau apa pun yang dapat ditetapkan ke yang diberikan Type.

bindingSource
BindingSource

BindingSource untuk menetapkan ke yang diberikan type.

Berlaku untuk