CollectionCodeDomSerializer.MethodSupportsSerialization(MethodInfo) Méthode

Définition

Vérifie la prise en charge de la sérialisation par le 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

Pour MethodInfo vérifier les attributs de sérialisation.

Retours

true si la method sérialisation prend en charge ; sinon, false.

Exceptions

method a la valeur null.

Remarques

Vérifie les method attributs pour voir s’ils prennent en charge la sérialisation.

S’applique à

Voir aussi