BindingBehavior Enumeration

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: