BindAttribute.PropertyFilter Property

Definition

Gets a predicate which can determines which model properties should be bound by model binding.

This predicate is also used to determine which parameters are bound when a model's constructor is bound.

public:
 property Func<Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^, bool> ^ PropertyFilter { Func<Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^, bool> ^ get(); };
public Func<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata,bool> PropertyFilter { get; }
member this.PropertyFilter : Func<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata, bool>
Public ReadOnly Property PropertyFilter As Func(Of ModelMetadata, Boolean)

Property Value

Implements

Applies to