Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

BindRequiredAttribute Class

 

Provides an attribute that specifies that a property is required for model binding.

Namespace:   Microsoft.Web.Mvc.ModelBinding
Assembly:  Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)

System.Object
  System.Attribute
    Microsoft.Web.Mvc.ModelBinding.BindingBehaviorAttribute
      Microsoft.Web.Mvc.ModelBinding.BindRequiredAttribute

[AttributeUsageAttribute(AttributeTargets.Class | AttributeTargets.Property, 
	AllowMultiple = false, Inherited = true)]
public sealed class BindRequiredAttribute : BindingBehaviorAttribute

NameDescription
System_CAPS_pubmethodBindRequiredAttribute()

Initializes a new instance of the BindRequiredAttribute class.

NameDescription
System_CAPS_pubpropertyBehavior

Gets the model-binding behavior value.(Inherited from BindingBehaviorAttribute.)

System_CAPS_pubpropertyTypeId

Gets the unique identifier for this attribute.(Inherited from BindingBehaviorAttribute.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2015 Microsoft