Edytuj

Udostępnij za pośrednictwem


ConfigurationValidatorBase.CanValidate(Type) Method

Definition

Determines whether an object can be validated based on type.

public:
 virtual bool CanValidate(Type ^ type);
public virtual bool CanValidate (Type type);
abstract member CanValidate : Type -> bool
override this.CanValidate : Type -> bool
Public Overridable Function CanValidate (type As Type) As Boolean

Parameters

type
Type

The object type.

Returns

true if the type parameter value matches the expected type; otherwise, false.

Applies to