EmptyEnumerator Members

Provides an empty enumerator that is returned by the Integration Services runtime when there are no elements in the collection to enumerate over.

The following tables list the members exposed by the EmptyEnumerator type.

Public Constructors

  名称 Description
EmptyEnumerator Initializes a new instance of the EmptyEnumerator class.

顶部

Public Properties

  名称 Description
ms212175.pubproperty(zh-cn,SQL.90).gif Current Raises an error that indicates an empty enumerator.

顶部

Public Methods

(see also Protected Methods )

  名称 Description
ms212175.pubmethod(zh-cn,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms212175.pubmethod(zh-cn,SQL.90).gif GetHashCode  (inherited from Object )
ms212175.pubmethod(zh-cn,SQL.90).gif GetType  (inherited from Object )
ms212175.pubmethod(zh-cn,SQL.90).gif MoveNext Advances the enumerator to the next element of the collection. The EmptyEnumerator returns false for this method, because there is no object to move to in the empty collection.
ms212175.pubmethod(zh-cn,SQL.90).gifms212175.static(zh-cn,SQL.90).gif ReferenceEquals  (inherited from Object )
ms212175.pubmethod(zh-cn,SQL.90).gif Reset Sets the enumerator to its initial position, which is before the first element in the collection.
ms212175.pubmethod(zh-cn,SQL.90).gif ToString  (inherited from Object )

顶部

Protected Methods

  名称 Description
ms212175.protmethod(zh-cn,SQL.90).gif Finalize  (inherited from Object )
ms212175.protmethod(zh-cn,SQL.90).gif MemberwiseClone  (inherited from Object )

顶部

请参阅

参考

EmptyEnumerator Class
Microsoft.SqlServer.Dts.Runtime Namespace