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 assigné sans risque pour 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'assignation peut être faite sans risque ; sinon false.