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)
The BindAttribute type exposes the following members.
| Name | Description | |
|---|---|---|
|
Exclude | Gets or sets a comma-delimited list of property names for which binding is not allowed. |
|
Include | Gets or sets a comma-delimited list of property names for which binding is allowed. |
|
Prefix | Gets or sets the prefix to use when markup is rendered for binding to an action argument or to a model property. |
|
TypeId | (Inherited from Attribute.) |
| Name | Description | |
|---|---|---|
|
Equals | (Inherited from Attribute.) |
|
Finalize | (Inherited from Object.) |
|
GetHashCode | (Inherited from Attribute.) |
|
GetType | (Inherited from Object.) |
|
IsDefaultAttribute | (Inherited from Attribute.) |
|
IsPropertyAllowed | Determines whether the specified property is allowed. |
|
Match | (Inherited from Attribute.) |
|
MemberwiseClone | (Inherited from Object.) |
|
ToString | (Inherited from Object.) |
For more information about using attributes, see Extending Metadata Using Attributes.