Export (0) Print
Expand All

ModelBinderAttribute Class

Represents an attribute that is used to associate a model type to a model-builder type.

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

[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Enum|AttributeTargets.Interface|AttributeTargets.Parameter, AllowMultiple = false, 
	Inherited = false)]
public sealed class ModelBinderAttribute : CustomModelBinderAttribute

For more information about using attributes, see Extending Metadata Using Attributes.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

Show:
© 2014 Microsoft