Share via


ExcludeBindingMetadataProvider(Type) 建構函式

定義

為指定的 type 建立新的 ExcludeBindingMetadataProvider

public:
 ExcludeBindingMetadataProvider(Type ^ type);
public ExcludeBindingMetadataProvider (Type type);
new Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ExcludeBindingMetadataProvider : Type -> Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.ExcludeBindingMetadataProvider
Public Sub New (type As Type)

參數

type
Type

Type。 具有這個 Type 的所有屬性都會 IsBindingAllowed 設定為 false

適用於