AttachablePropertyServices.RemoveProperty 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.
Supprime l’entrée de la propriété attachable spécifiée du magasin spécifié.
public:
static bool RemoveProperty(System::Object ^ instance, System::Xaml::AttachableMemberIdentifier ^ name);
public static bool RemoveProperty(object instance, System.Xaml.AttachableMemberIdentifier name);
static member RemoveProperty : obj * System.Xaml.AttachableMemberIdentifier -> bool
Public Shared Function RemoveProperty (instance As Object, name As AttachableMemberIdentifier) As Boolean
Paramètres
- instance
- Object
Magasin de IAttachedPropertyStorepropriétés attachable spécifique qui implémente ; ou tout objet non null pour accéder à un magasin de propriétés attachable par défaut statique.
Identificateur de l’entrée de propriété pouvant être attachée à supprimer du magasin.
Retours
true si une entrée de propriété pouvant être attachée a name été trouvée dans le magasin et supprimée de celle-ci ; sinon, false.
Remarques
Les magasins sont par instance ; par conséquent, dans un magasin, la name valeur doit être non ambiguë.