AcceptAttribute.IsValid Method (Object)
Determines whether the specified value is valid.
Namespace: Microsoft.Web.Mvc
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
Syntax
public override bool IsValid(
object value
)
public:
virtual bool IsValid(
Object^ value
) override
override IsValid :
value:Object -> bool
Public Overrides Function IsValid (
value As Object
) As Boolean
Parameters
value
Type: System.ObjectThe value to validate.
Return Value
Type: System.Boolean
true if the specified value is valid; otherwise, false.
See Also
AcceptAttribute Class
Microsoft.Web.Mvc Namespace
Return to top