AttachablePropertyServices.GetAttachedPropertyCount(Object) 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.
Retourne le nombre d’entrées de propriété attachables qui se trouvent dans le magasin spécifié.
public:
static int GetAttachedPropertyCount(System::Object ^ instance);
public static int GetAttachedPropertyCount(object instance);
static member GetAttachedPropertyCount : obj -> int
Public Shared Function GetAttachedPropertyCount (instance As Object) As Integer
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.
Retours
Nombre entier d’entrées dans le magasin.