TypeProvider.IsAssignable(Type, 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.
Indique si un type peut être attribué en toute sécurité à un autre type.
public:
static bool IsAssignable(Type ^ toType, Type ^ fromType);
public static bool IsAssignable(Type toType, Type fromType);
static member IsAssignable : Type * Type -> bool
Public Shared Function IsAssignable (toType As Type, fromType As Type) As Boolean
Paramètres
Retours
true si l’affectation peut être effectuée en toute sécurité ; sinon false.