UrlAttribute.IsValid(Object) Method

Definition

Validates the format of the specified URL.

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

The URL to validate.

Returns

Boolean

true if the URL format is valid or null; otherwise, false.

Applies to