BindAttribute.PropertyFilter Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for