Freigeben über


ForEachItem-Klasse

Returns a ForEachItemValueEnumerator. This class cannot be inherited.

Vererbungshierarchie

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

Namespace:  Microsoft.SqlServer.Dts.Runtime.Enumerators.Item
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
Public NotInheritable Class ForEachItem _
    Inherits DtsObject _
    Implements ICollection, IEnumerable
'Usage
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

Der ForEachItem-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Count Gets an Integer that specifies the number of elements contained in the collection.
Öffentliche Eigenschaft IsSynchronized Gets a Boolean that indicates whether access to the collection is synchronized (thread-safe).
Öffentliche Eigenschaft Item Returns a ForEachItemValue object from the collection.
Öffentliche Eigenschaft SyncRoot Gets an object that can be used to synchronize access to the collection.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Add Adds a new, empty ForEachItemValue object to the end of the collection.
Öffentliche Methode Contains Returns a Boolean that indicates whether the items in the collection can be accessed by using indexing.
Öffentliche Methode CopyTo Copies the entire collection to a one-dimensional array, starting at the specified index of the target array.
Öffentliche Methode Equals Determines whether two object instances are equal. (Geerbt von DtsObject.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetEnumerator Returns an enumerator for use in iterating over the ForEachItem collection.
Öffentliche Methode GetHashCode Returns the hash code for this instance. (Geerbt von DtsObject.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode Remove Removes a ForEachItem object from the collection.
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.