다음을 통해 공유


EmptyEnumerator 클래스

Acts as a placeholder when enumeration is called on an empty collection. This class cannot be inherited.

상속 계층

System.Object
  Microsoft.SqlServer.Dts.Runtime.Enumerators.ADO.EmptyEnumerator

네임스페이스:  Microsoft.SqlServer.Dts.Runtime.Enumerators.ADO
어셈블리:  Microsoft.SqlServer.ForEachADOEnumerator(Microsoft.SqlServer.ForEachADOEnumerator.dll)

구문

‘선언
Public NotInheritable Class EmptyEnumerator _
    Implements IEnumerator
‘사용 방법
Dim instance As EmptyEnumerator
public sealed class EmptyEnumerator : IEnumerator
public ref class EmptyEnumerator sealed : IEnumerator
[<SealedAttribute>]
type EmptyEnumerator =  
    class 
        interface IEnumerator 
    end
public final class EmptyEnumerator implements IEnumerator

EmptyEnumerator 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 EmptyEnumerator Initializes a new instance of the EmptyEnumerator class.

맨 위로 이동

속성

  이름 설명
공용 속성 Current Raises an error indicating an empty enumerator.

맨 위로 이동

메서드

  이름 설명
공용 메서드 Equals (Object에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
공용 메서드 MoveNext Advances the enumerator to the next element of the collection. The EmptyEnumerator always returns false for this method.
공용 메서드 Reset Sets the enumerator to its initial position, which is before the first element in the collection.
공용 메서드 ToString (Object에서 상속됨)

맨 위로 이동

주의

The empty enumerator is returned by the runtime when there are no elements in the collection to enumerate over.

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.SqlServer.Dts.Runtime.Enumerators.ADO 네임스페이스