CollectionCodeDomSerializer.MethodSupportsSerialization(MethodInfo) 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.
Vérifie la prise en charge de la sérialisation par method
.
protected:
bool MethodSupportsSerialization(System::Reflection::MethodInfo ^ method);
protected bool MethodSupportsSerialization (System.Reflection.MethodInfo method);
member this.MethodSupportsSerialization : System.Reflection.MethodInfo -> bool
Protected Function MethodSupportsSerialization (method As MethodInfo) As Boolean
Paramètres
- method
- MethodInfo
MethodInfo dont les attributs de sérialisation doivent être vérifiés.
Retours
true
si method
prend en charge la sérialisation ; sinon, false
.
Exceptions
method
a la valeur null
.
Remarques
Vérifie les method
attributs pour voir s’ils prennent en charge la sérialisation.