다음을 통해 공유


IList 인터페이스

인덱스로 각각 액세스할 수 있는 제네릭이 아닌 개체 컬렉션을 나타냅니다.

네임스페이스: System.Collections
어셈블리: mscorlib(mscorlib.dll)

구문

‘선언
<ComVisibleAttribute(True)> _
Public Interface IList
    Inherits ICollection, IEnumerable
‘사용 방법
Dim instance As IList
[ComVisibleAttribute(true)] 
public interface IList : ICollection, IEnumerable
[ComVisibleAttribute(true)] 
public interface class IList : ICollection, IEnumerable
/** @attribute ComVisibleAttribute(true) */ 
public interface IList extends ICollection, IEnumerable
ComVisibleAttribute(true) 
public interface IList extends ICollection, IEnumerable

설명

IListICollection 인터페이스의 하위 항목이며 제네릭이 아닌 모든 목록의 기본 인터페이스입니다. IList 구현은 읽기 전용, 고정 크기, 가변 크기의 세 가지 범주로 분류됩니다. 읽기 전용 IList는 수정할 수 없습니다. 고정 크기의 IList에서는 요소를 추가하거나 제거할 수 없지만 기존 요소를 수정할 수는 있습니다. 가변 크기의 IList에서는 요소를 추가, 제거 및 수정할 수 있습니다.

이 인터페이스의 제네릭 버전을 보려면 System.Collections.Generic.IList을 참조하십시오.

플랫폼

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에서 지원

참고 항목

참조

IList 멤버
System.Collections 네임스페이스
ArrayList 클래스
ICollection 인터페이스
System.Collections.Generic.IList