Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
BindAttribute Class
Collapse the table of content
Expand the table of content

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 Or AttributeTargets.Parameter,
	AllowMultiple := False, Inherited := True)>
Public NotInheritable Class BindAttribute
	Inherits 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:
© 2015 Microsoft