AttachablePropertyServices.GetAttachedPropertyCount(Object) メソッド

定義

指定したストアにある添付可能なプロパティ エントリの数を返します。

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

パラメーター

instance
Object

静的な既定の添付可能なプロパティ ストアにアクセスするために、 IAttachedPropertyStoreまたは null 以外のオブジェクトを実装する特定の添付可能なプロパティ ストア。

返品

ストア内のエントリの整数数。

適用対象