Aracılığıyla paylaş


AttachablePropertyServices.GetAttachedPropertyCount(Object) Yöntem

Tanım

Belirtilen depoda bulunan eklenebilir özellik girdilerinin sayısını döndürür.

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

Parametreler

instance
Object

Statik varsayılan eklenebilir özellik deposuna erişmek için uygulayan IAttachedPropertyStorebelirli bir eklenebilir özellik deposu veya null olmayan herhangi bir nesne.

Döndürülenler

Int32

Depodaki girdilerin tamsayı sayısı.

Şunlara uygulanır