ReflectionModelServices.IsDisposalRequired(ComposablePartDefinition) 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 composant spécifié nécessite d'être supprimé.
public:
static bool IsDisposalRequired(System::ComponentModel::Composition::Primitives::ComposablePartDefinition ^ partDefinition);
public static bool IsDisposalRequired (System.ComponentModel.Composition.Primitives.ComposablePartDefinition partDefinition);
static member IsDisposalRequired : System.ComponentModel.Composition.Primitives.ComposablePartDefinition -> bool
Public Shared Function IsDisposalRequired (partDefinition As ComposablePartDefinition) As Boolean
Paramètres
- partDefinition
- ComposablePartDefinition
Composant à examiner.
Retours
true si le composant doit être supprimé ; sinon, false.
Exceptions
partDefinition a la valeur null.