Redigera

Dela via


FileExtensionsAttribute.IsValid(Object) Method

Definition

Checks that the specified file name extension or extensions is valid.

public:
 override bool IsValid(System::Object ^ value);
public override bool IsValid (object value);
public override bool IsValid (object? value);
override this.IsValid : obj -> bool
Public Overrides Function IsValid (value As Object) As Boolean

Parameters

value
Object

A comma delimited list of valid file extensions.

Returns

true if the file name extension is valid; otherwise, false.

Applies to