次の方法で共有


ImageList.ImageCollection.Empty プロパティ

ImageList 内にイメージがあるかどうかを示す値を取得します。

Public ReadOnly Property Empty As Boolean
[C#]
public bool Empty {get;}
[C++]
public: __property bool get_Empty();
[JScript]
public function get Empty() : Boolean;

プロパティ値

リスト内にイメージがない場合は true 。それ以外の場合は false 。既定値は false です。

解説

このプロパティの値は、 Handle を強制的に作成しなくても確認できます。

必要条件

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

参照

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