ForEachItem Class

Returns a ForEachItemValueEnumerator. This class cannot be inherited.

Inheritance Hierarchy


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


Public NotInheritable Class ForEachItem _
    Inherits DtsObject _
    Implements ICollection, IEnumerable
Dim instance As ForEachItem
public sealed class ForEachItem : DtsObject, 
    ICollection, IEnumerable
public ref class ForEachItem sealed : public DtsObject, 
    ICollection, IEnumerable
type ForEachItem =  
        inherit DtsObject
        interface ICollection
        interface IEnumerable
public final class ForEachItem extends DtsObject implements ICollection, IEnumerable

The ForEachItem type exposes the following members.


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



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


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.