다음을 통해 공유


ImageList.ImageCollection.Count 속성

목록에 현재 들어 있는 이미지의 개수를 가져옵니다.

네임스페이스: System.Windows.Forms
어셈블리: System.Windows.Forms(system.windows.forms.dll)

구문

‘선언
Public ReadOnly Property Count As Integer
‘사용 방법
Dim instance As ImageCollection
Dim value As Integer

value = instance.Count
public int Count { get; }
public:
virtual property int Count {
    int get () sealed;
}
/** @property */
public final int get_Count ()
public final function get Count () : int

속성 값

목록에 있는 이미지 수입니다. 기본값은 0입니다.

설명

이미지의 수를 세면 강제로 Handle이 만들어집니다.

플랫폼

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework에서 모든 플래폼의 모든 버전을 지원하지는 않습니다. 지원되는 버전의 목록은 시스템 요구 사항을 참조하십시오.

버전 정보

.NET Framework

2.0, 1.1, 1.0에서 지원

.NET Compact Framework

2.0, 1.0에서 지원

참고 항목

참조

ImageList.ImageCollection 클래스
ImageList.ImageCollection 멤버
System.Windows.Forms 네임스페이스
ImageList.HandleCreated 속성