Dela via


ModelMetadata.IsBindingAllowed Property

Definition

Gets a value indicating whether or not the model value can be bound by model binding. This is only applicable when the current instance represents a property.

public:
 abstract property bool IsBindingAllowed { bool get(); };
public abstract bool IsBindingAllowed { get; }
member this.IsBindingAllowed : bool
Public MustOverride ReadOnly Property IsBindingAllowed As Boolean

Property Value

Remarks

If true then the model value is considered supported by model binding and can be set based on provided input in the request.

Applies to