Partager via


EmptyEnumerator Members

Acts as a placeholder when enumeration is called on an empty collection. The runtime returns the empty enumerator when there are no elements in the collection to enumerate over. This class cannot be inherited.

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

Public Constructors

  Nom Description
EmptyEnumerator Initializes a new instance of the EmptyEnumerator class.

Haut de la page

Public Properties

  Nom Description
ms212405.pubproperty(fr-fr,SQL.90).gif Current Raises an error indicating an empty enumerator.

Haut de la page

Public Methods

(see also Protected Methods )

  Nom Description
ms212405.pubmethod(fr-fr,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms212405.pubmethod(fr-fr,SQL.90).gif GetHashCode  (inherited from Object )
ms212405.pubmethod(fr-fr,SQL.90).gif GetType  (inherited from Object )
ms212405.pubmethod(fr-fr,SQL.90).gif MoveNext Advances the enumerator to the next element of the collection. Returns false if there is no object to move to.
ms212405.pubmethod(fr-fr,SQL.90).gifms212405.static(fr-fr,SQL.90).gif ReferenceEquals  (inherited from Object )
ms212405.pubmethod(fr-fr,SQL.90).gif Reset Sets the enumerator to its initial position, which is before the first element in the collection.
ms212405.pubmethod(fr-fr,SQL.90).gif ToString  (inherited from Object )

Haut de la page

Protected Methods

  Nom Description
ms212405.protmethod(fr-fr,SQL.90).gif Finalize  (inherited from Object )
ms212405.protmethod(fr-fr,SQL.90).gif MemberwiseClone  (inherited from Object )

Haut de la page

Voir aussi

Référence

EmptyEnumerator Class
Microsoft.SqlServer.Dts.Runtime.Enumerators.SMO Namespace