Class ReadOnlyCollectionBase

Class ReadOnlyCollectionBase

이름 공간 : Aspose.Tasks 모임: Aspose.Tasks.dll (25.4.0)

그것은 단지 읽을 수있는 개체의 컬렉션을 나타냅니다.

public abstract class ReadOnlyCollectionBase<t> : IList<t>, ICollection<t>, IEnumerable<t>, IEnumerable

파라미터 유형

T

수집물의 종류

Inheritance

object ReadOnlyCollectionBase

Implements

IList , ICollection , IEnumerable , IEnumerable

상속 회원들

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Properties

Count

그것은 개체에 포함 된 개체의 수를 얻습니다.

public int Count { get; }

부동산 가치

int

이것이[이트]

지정된 인덱스에 항목을 반환합니다.

public T this[int index] { get; set; }

부동산 가치

T

Methods

Add(T)

이것은 ICollection의 추가 방법의 구체적인 구현이며, 이는 NotSupportedException만 던져집니다.

public void Add(T item)

Parameters

item T

추가하는 항목입니다.

GetEnumerator()

이 컬렉션에 대한 번호를 반환합니다.

public IEnumerator<t> GetEnumerator()

Returns

IEnumerator

이 컬렉션에 대한 목록입니다.

ToList()

컬렉션 개체를 Aspose.Tasks.VbaModule 개체 목록으로 변환합니다.

public List<t> ToList()

Returns

List

개체 목록

 한국어