Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CustomModelBinderAttribute Class

Represents an attribute that invokes a custom model binder.

System.Object
  System.Attribute
    System.Web.Mvc.CustomModelBinderAttribute
      System.Web.Mvc.ModelBinderAttribute

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
[<AbstractClassAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Enum|AttributeTargets.Interface|AttributeTargets.Parameter, AllowMultiple = false, 
    Inherited = false)>]
type CustomModelBinderAttribute =  
    class 
        inherit Attribute 
    end

The CustomModelBinderAttribute type exposes the following members.

  NameDescription
Protected methodCustomModelBinderAttributeInitializes a new instance of the CustomModelBinderAttribute class.
Top
  NameDescription
Public propertyTypeId (Inherited from Attribute.)
Top
  NameDescription
Public methodEquals (Inherited from Attribute.)
Protected methodFinalize (Inherited from Object.)
Public methodGetBinderRetrieves the associated model binder.
Public methodGetHashCode (Inherited from Attribute.)
Public methodGetType (Inherited from Object.)
Public methodIsDefaultAttribute (Inherited from Attribute.)
Public methodMatch (Inherited from Attribute.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.