CallbackValidator.CanValidate Method (Type)


Determines whether the type of the object can be validated.

Namespace:   System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

public override bool CanValidate(
	Type type


Type: System.Type

The type of object.

Return Value

Type: System.Boolean

true if the type parameter matches the type used as the first parameter when creating an instance of CallbackValidator; otherwise, false.

.NET Framework
Available since 2.0
Return to top