次の方法で共有


ImageList.ImageCollection.Count プロパティ

現在リスト内にあるイメージの数を取得します。

Public Overridable ReadOnly Property Count As Integer  Implements _   ICollection.Count
[C#]
public virtual int Count {get;}
[C++]
public: __property virtual int get_Count();
[JScript]
public function get Count() : int;

プロパティ値

リスト内にあるイメージの数。既定値は 0 です。

実装

ICollection.Count

解説

イメージの数を取得すると、 Handle が強制的に作成されます。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ, .NET Compact Framework - Windows CE .NET

参照

ImageList.ImageCollection クラス | ImageList.ImageCollection メンバ | System.Windows.Forms 名前空間 | HandleCreated