BindAttribute Class

 

Represents an attribute that is used to provide details about how model binding to a parameter should occur.

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

System::Object
  System::Attribute
    System.Web.Mvc::BindAttribute

[AttributeUsageAttribute(AttributeTargets::Class | AttributeTargets::Parameter, 
	AllowMultiple = false, Inherited = true)]
public ref class BindAttribute sealed : Attribute

NameDescription
System_CAPS_pubmethodBindAttribute()

Initializes a new instance of the BindAttribute class.

NameDescription
System_CAPS_pubpropertyExclude

Gets or sets a comma-delimited list of property names for which binding is not allowed.

System_CAPS_pubpropertyInclude

Gets or sets a comma-delimited list of property names for which binding is allowed.

System_CAPS_pubpropertyPrefix

Gets or sets the prefix to use when markup is rendered for binding to an action argument or to a model property.

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

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_pubmethodIsPropertyAllowed(String^)

Determines whether the specified property is allowed.

System_CAPS_pubmethodMatch(Object^)

(Inherited from Attribute.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

For more information about using attributes, see .

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: