BindAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an attribute that is used to provide details about how model binding to a parameter should occur.
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=true)]
public sealed class BindAttribute : Attribute
type BindAttribute = class
inherit Attribute
Public NotInheritable Class BindAttribute
Inherits Attribute
- Inheritance
-
BindAttribute
- Attributes
Constructors
| BindAttribute() |
Initializes a new instance of the BindAttribute class. |
Properties
| 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. |
Methods
| IsPropertyAllowed(String) |
Determines whether the specified property is allowed. |