次の方法で共有


ModelItemCollection.ICollection.Count プロパティ

このメンバーの説明については、ICollection.Count のトピックを参照してください。

名前空間:  Microsoft.Windows.Design.Model
アセンブリ:  Microsoft.Windows.Design.Interaction (Microsoft.Windows.Design.Interaction.dll 内)

構文

'宣言
Private ReadOnly Property Count As Integer
    Implements ICollection.Count
    Get
int ICollection.Count { get; }
private:
virtual property int Count {
    int get () sealed = ICollection::Count::get;
}
private abstract Count : int
private override Count : int
JScript では、明示的なインターフェイスの実装はサポートされません。

プロパティ値

型: System.Int32
ICollection に格納されている要素の数。

実装

ICollection.Count

解説

このメンバーは、明示的なインターフェイス メンバーの実装です。 これは、ModelItemCollection のインスタンスが ICollection インターフェイスにキャストされる場合のみ、使用できます。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

ModelItemCollection クラス

Microsoft.Windows.Design.Model 名前空間

その他の技術情報

WPF デザイナーの機能拡張アーキテクチャ