PropertyGrid.PropertyTabCollection.GetEnumerator 메서드

정의

컬렉션에서 모든 속성 탭의 열거형을 반환합니다.

public:
 virtual System::Collections::IEnumerator ^ GetEnumerator();
public System.Collections.IEnumerator GetEnumerator ();
abstract member GetEnumerator : unit -> System.Collections.IEnumerator
override this.GetEnumerator : unit -> System.Collections.IEnumerator
Public Function GetEnumerator () As IEnumerator

반환

IEnumerator

IEnumerator에 대한 PropertyGrid.PropertyTabCollection입니다.

구현

설명

이 메서드는 컬렉션의 스냅샷을 포함 하는 열거자를 만듭니다. 열거자; 변경 하 여 컬렉션을 변경할 수 있습니다. 그러나 여러 열거자 동일한 컬렉션에 동시에 액세스할 수 있습니다. 컬렉션을 변경 직접적으로 또는 다른 열거자를 통해 발생할 수 있습니다 Current 또는 MoveNext 예외를 throw 합니다.

동시에 동일한 컬렉션에서 만들어진 두 열거자는 서로 다른 스냅샷을 포함할 수 있습니다. 컬렉션에서 제거도 열거자에서 개체를 제거 합니다.

적용 대상