BindingBehavior Enumeration
TOC
Collapse the table of content
Expand the table of content

BindingBehavior Enumeration

.NET Framework (current version)
 

Enumerates model-binding behavior options.

Namespace:   System.Web.ModelBinding
Assembly:  System.Web (in System.Web.dll)

public enum BindingBehavior

Member nameDescription
Never

The property should be excluded from model binding.

Optional

The property should be model bound if a value is available from the value provider.

Required

The property is required for model binding.

.NET Framework
Available since 4.5
Return to top
Show:
© 2016 Microsoft