Collection<T>.IList.IsFixedSize 속성
정의
property bool System::Collections::IList::IsFixedSize { bool get(); };
bool System.Collections.IList.IsFixedSize { get; }
member this.System.Collections.IList.IsFixedSize : bool
ReadOnly Property IsFixedSize As Boolean Implements IList.IsFixedSize
속성 값
true
가 고정 크기인 경우 IList이고, 그렇지 않으면 false
입니다.true
if the IList has a fixed size; otherwise, false
. Collection<T>의 기본 구현에서 이 속성은 언제나 false
를 반환합니다.In the default implementation of Collection<T>, this property always returns false
.
구현
설명
크기가 고정된 컬렉션에서는 컬렉션을 만든 다음에 요소를 추가하거나 제거할 수 없지만 기존 요소는 수정할 수 있습니다.A collection with a fixed size does not allow the addition or removal of elements after the collection is created, but it allows the modification of existing elements.
고정 크기의 컬렉션은 단순히 요소를 추가 및 제거 하는 것을 방지 하는 래퍼가 있는 컬렉션입니다. 따라서 요소의 추가 또는 제거를 포함 하 여 기본 컬렉션이 변경 되는 경우 고정 크기 컬렉션은 이러한 변경 내용을 반영 합니다.A collection with a fixed size is simply a collection with a wrapper that prevents adding and removing elements; therefore, if changes are made to the underlying collection, including the addition or removal of elements, the fixed-size collection reflects those changes.
이 속성 값을 검색하는 것은 O(1) 연산입니다.Retrieving the value of this property is an O(1) operation.