AcceptAttribute Class
Represents an attribute that accepts the validation of value.
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
System.Object
System.Attribute
System.ComponentModel.DataAnnotations.ValidationAttribute
System.ComponentModel.DataAnnotations.DataTypeAttribute
Microsoft.Web.Mvc.AcceptAttribute
System.Attribute
System.ComponentModel.DataAnnotations.ValidationAttribute
System.ComponentModel.DataAnnotations.DataTypeAttribute
Microsoft.Web.Mvc.AcceptAttribute
| Name | Description | |
|---|---|---|
![]() | AcceptAttribute() | Initializes a new instance of the AcceptAttribute class. |
| Name | Description | |
|---|---|---|
![]() | CustomDataType | (Inherited from DataTypeAttribute.) |
![]() | DataType | (Inherited from DataTypeAttribute.) |
![]() | DisplayFormat | (Inherited from DataTypeAttribute.) |
![]() | ErrorMessage | (Inherited from ValidationAttribute.) |
![]() | ErrorMessageResourceName | (Inherited from ValidationAttribute.) |
![]() | ErrorMessageResourceType | (Inherited from ValidationAttribute.) |
![]() | MimeTypes | Gets or sets the acceptance value for the mime types. |
![]() | RequiresValidationContext | (Inherited from ValidationAttribute.) |
![]() | TypeId | (Inherited from Attribute.) |
| Name | Description | |
|---|---|---|
![]() ![]() | _Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
![]() ![]() | _Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
![]() ![]() | _Attribute.GetTypeInfoCount(UInt32) | (Inherited from Attribute.) |
![]() ![]() | _Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) | (Inherited from Attribute.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:



