ConfigurationValidatorBase.CanValidate(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

參數

type
Type

物件類型。

傳回

如果 type 參數值符合預期的 true,則為 type,否則為 false

適用於