ImmutableSortedSet<T>.GetEnumerator 메서드

정의

변경할 수 없는 정렬된 집합을 반복하는 열거자를 반환합니다.

public:
 virtual System::Collections::Immutable::ImmutableSortedSet<T>::Enumerator GetEnumerator();
public:
 System::Collections::Immutable::ImmutableSortedSet<T>::Enumerator GetEnumerator();
public System.Collections.Immutable.ImmutableSortedSet<T>.Enumerator GetEnumerator ();
abstract member GetEnumerator : unit -> System.Collections.Immutable.ImmutableSortedSet<'T>.Enumerator
override this.GetEnumerator : unit -> System.Collections.Immutable.ImmutableSortedSet<'T>.Enumerator
member this.GetEnumerator : unit -> System.Collections.Immutable.ImmutableSortedSet<'T>.Enumerator
Public Function GetEnumerator () As ImmutableSortedSet(Of T).Enumerator

반환

집합에서 반복하는 데 사용할 수 있는 열거자입니다.

설명

주의

이 열거자를 값 형식으로 사용하는 경우(즉, 상자에 입력되지 않은 경우) 두 번째 변수에 할당하거나 다른 메서드에 전달하여 복사하지 마세요. 이 열거자가 삭제되면 변경 가능한 참조 형식 스택을 리소스 풀에 반환하고 값 형식 열거자가 복사되면(값을 전달하면 의도치 않게 쉽게 발생할 수 있음) 리소스 풀에 이미 반환된 스택이 열거자 복사본 중 하나에서 계속 사용 중일 수 있는 위험이 있습니다. 데이터 손상 및 예외로 이어집니다.

System.Collections.Immutable NuGet 패키지

변경할 수 없는 컬렉션 및 설치 방법 정보

적용 대상