FileExtensionsAttribute.IsValid Method (Object)

 

Determines whether the specified value of the object 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

Return Value

Type: System.Boolean

true if the specified value is valid; otherwise, false.

See Also

FileExtensionsAttribute Class
Microsoft.Web.Mvc Namespace

Return to top