DefaultValidator.CanValidate(Type) 方法

定義

根據類型判斷物件是否能被驗證。

public:
 override bool CanValidate(Type ^ type);
public override bool CanValidate(Type type);
override this.CanValidate : Type -> bool
Public Overrides Function CanValidate (type As Type) As Boolean

參數

type
Type

物件類型。

傳回

true 所有類型都被驗證。

適用於