Freigeben über


BindingSourceMetadataProvider(Type, BindingSource) Konstruktor

Definition

Erstellt eine neue BindingSourceMetadataProvider für die angegebene 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

Die Type. Die Anbietergruppen BindingSource des angegebenen Type oder eines, das dem angegebenen Typezugewiesen werden kann.

bindingSource
BindingSource

Der BindingSource , der dem angegebenen typezuzuweisen ist.

Gilt für: