RemoteAttribute.IsValid Method (Object)
This method always returns true.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Overrides Function IsValid ( _
value As Object _
) As Boolean
'Usage
Dim instance As RemoteAttribute
Dim value As Object
Dim returnValue As Boolean
returnValue = instance.IsValid(value)
public override bool IsValid(
Object value
)
public:
virtual bool IsValid(
Object^ value
) override
public override function IsValid(
value : Object
) : boolean
Parameters
- value
Type: System.Object
The validation target.
Return Value
Type: System.Boolean
true
Remarks
Remote attributes that derive from ValidationAttribute should return true for this method.