RootedPathValidator.CanValidate(Type) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Détermine si le type de l'objet peut être validé.
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
Paramètres
- type
- Type
Type de l'objet.
Retours
true si le paramètre type correspond à un objet XMLSerializer valide ; sinon, false.