Partager via


Classe ForEachItem

Returns a ForEachItemValueEnumerator. This class cannot be inherited.

Hiérarchie d'héritage

System.Object
  Microsoft.SqlServer.Dts.Runtime.DtsObject
    Microsoft.SqlServer.Dts.Runtime.Enumerators.Item.ForEachItem

Espace de noms :  Microsoft.SqlServer.Dts.Runtime.Enumerators.Item
Assembly :  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Syntaxe

'Déclaration
Public NotInheritable Class ForEachItem _
    Inherits DtsObject _
    Implements ICollection, IEnumerable
'Utilisation
Dim instance As ForEachItem
public sealed class ForEachItem : DtsObject, 
    ICollection, IEnumerable
public ref class ForEachItem sealed : public DtsObject, 
    ICollection, IEnumerable
[<SealedAttribute>]
type ForEachItem =  
    class 
        inherit DtsObject 
        interface ICollection 
        interface IEnumerable 
    end
public final class ForEachItem extends DtsObject implements ICollection, IEnumerable

Le type ForEachItem expose les membres suivants.

Propriétés

  Nom Description
Propriété publique Count Gets an Integer that specifies the number of elements contained in the collection.
Propriété publique IsSynchronized Gets a Boolean that indicates whether access to the collection is synchronized (thread-safe).
Propriété publique Item Returns a ForEachItemValue object from the collection.
Propriété publique SyncRoot Gets an object that can be used to synchronize access to the collection.

Haut de la page

Méthodes

  Nom Description
Méthode publique Add Adds a new, empty ForEachItemValue object to the end of the collection.
Méthode publique Contains Returns a Boolean that indicates whether the items in the collection can be accessed by using indexing.
Méthode publique CopyTo Copies the entire collection to a one-dimensional array, starting at the specified index of the target array.
Méthode publique Equals Determines whether two object instances are equal. (hérité de DtsObject.)
Méthode publique GetEnumerator Returns an enumerator for use in iterating over the ForEachItem collection.
Méthode publique GetHashCode Returns the hash code for this instance. (hérité de DtsObject.)
Méthode publique GetType (hérité de Object.)
Méthode publique Remove Removes a ForEachItem object from the collection.
Méthode publique ToString (hérité de Object.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Dts.Runtime.Enumerators.Item