Lingua

AttachablePropertyServices.GetAttachedPropertyCount(Object) Metodo

Definizione

Restituisce il conteggio delle voci di proprietà associabili presenti nell'archivio specificato.

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

Parametri

instance
Object

Archivio di proprietà associabile specifico che implementa IAttachedPropertyStoreo qualsiasi oggetto non Null per accedere a un archivio di proprietà associabile predefinito statico.

Valori restituiti

Numero intero di voci nell'archivio.

Si applica a