共用方式為


BindingSourceMetadataProvider(Type, BindingSource) 建構函式

定義

為指定的 type 建立新的 BindingSourceMetadataProvider

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)

參數

type
Type

Type。 指定 Type 或可指派給指定 Type 之專案的提供者集合 BindingSource

bindingSource
BindingSource

BindingSource要指派給指定 type 之 的 。

適用於