RootedPathValidator.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如果参数与有效type对象匹配,则为 XMLSerializer;否则为 false

适用于