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

[<Sealed>]
[<AttributeUsageAttribute(AttributeTargets.Class | AttributeTargets.Property,
    AllowMultiple = false, Inherited = true)>]
type BindRequiredAttribute = 
    class
        inherit BindingBehaviorAttribute
    end

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: